Merge pull request #293 from arabcoders/dev

fixed bug in default URL separator selector.
This commit is contained in:
Abdulmohsen 2025-06-04 22:42:10 +03:00 committed by GitHub
commit 4a26dc1a7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View file

@ -232,7 +232,7 @@ const getSeparatorsName = (value) => {
}
const showAdvanced = useStorage('show_advanced', false)
const separator = useStorage('url_separator', separators[0])
const separator = useStorage('url_separator', separators[0].value)
const addInProgress = ref(false)

View file

@ -2,16 +2,18 @@
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
<span class="icon"><i class="fas fa-bell" /></span>
<span class="tag is-underlined ml-2">{{ store.unreadCount }}</span>
<span class="tag ml-2">
<span class="is-underlined">{{ store.unreadCount }}</span>
<span>&nbsp;/&nbsp;</span>
<span class="is-underlined">{{ store.notifications.length }}</span>
</span>
</a>
<div class="navbar-dropdown is-right" style="width: 400px;">
<template v-if="store.notifications.length > 0">
<div class="px-3 py-2 is-flex is-justify-content-space-between is-align-items-center">
<span class="has-text-grey">
<span class="is-underlined">{{ store.notifications.length }}</span> Total
</span>
<div class="field is-grouped">
<span class="has-text-grey"></span>
<div class="field is-grouped">
<div class="control" v-if="store.unreadCount > 0">
<button class="button is-small is-light mr-1" @click="store.markAllRead">
<span class="icon"><i class="fas fa-check" /></span>