refactor(front): [WIP] tags in pills component
This commit is contained in:
parent
b4bf4937a0
commit
6f6cbbcd4b
|
@ -49,10 +49,10 @@ const page = usePage()
|
|||
|
||||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = computed(() => ({
|
||||
others: tags.value,
|
||||
custom: []
|
||||
}))
|
||||
const tagList = ref({
|
||||
current: [],
|
||||
others: tags.value
|
||||
})
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
const query = ref(q.value ?? '')
|
||||
|
@ -225,7 +225,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
|||
stack
|
||||
v-else-if="result && result.results.length === 0"
|
||||
>
|
||||
<Alert yellow>
|
||||
<Alert blue>
|
||||
<i class="bi bi-disc" />
|
||||
{{ t('components.library.Albums.empty.noResults') }}
|
||||
</Alert>
|
||||
|
|
|
@ -49,8 +49,8 @@ const page = usePage()
|
|||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = computed(() => ({
|
||||
others: tags.value,
|
||||
custom: []
|
||||
current: [],
|
||||
others: tags.value
|
||||
}))
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
|
|
|
@ -51,8 +51,8 @@ const page = usePage()
|
|||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = computed(() => ({
|
||||
others: tags.value,
|
||||
custom: []
|
||||
current: [],
|
||||
others: tags.value
|
||||
}))
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
|
|
Loading…
Reference in New Issue