fix(front): [WIP] use finished Pills list
This commit is contained in:
parent
d0f42437ae
commit
f1d6b11686
|
@ -47,7 +47,8 @@ const newValues = reactive({
|
|||
})
|
||||
|
||||
const tagList = computed(() => ({
|
||||
custom: newValues.tags
|
||||
currents: newValues.tags.map(tag => ({ type: 'custom' as const, label: tag })),
|
||||
others: [].map(tag => ({ type: 'custom' as const, label: tag }))
|
||||
}))
|
||||
|
||||
const creating = computed(() => props.object === null)
|
||||
|
|
|
@ -50,8 +50,8 @@ const page = usePage()
|
|||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = ref({
|
||||
current: [],
|
||||
others: tags.value
|
||||
currents: [].map(tag => ({ type: 'custom' as const, label: tag })),
|
||||
others: tags.value.map(tag => ({ type: 'custom' as const, label: tag }))
|
||||
})
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
|
|
|
@ -49,8 +49,8 @@ const page = usePage()
|
|||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = computed(() => ({
|
||||
current: [],
|
||||
others: tags.value
|
||||
currents: [].map(tag => ({ type: 'custom' as const, label: tag })),
|
||||
others: tags.value.map(tag => ({ type: 'custom' as const, label: tag }))
|
||||
}))
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
|
|
|
@ -51,8 +51,8 @@ const page = usePage()
|
|||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
|
||||
const tagList = computed(() => ({
|
||||
current: [],
|
||||
others: tags.value
|
||||
current: [].map(tag => ({ type: 'custom' as const, label: tag })),
|
||||
others: tags.value.map(tag => ({ type: 'custom' as const, label: tag }))
|
||||
}))
|
||||
|
||||
const q = useRouteQuery('query', '')
|
||||
|
|
|
@ -78,8 +78,8 @@ const createForm = ref()
|
|||
const page = usePage()
|
||||
const tags = useRouteQuery<string[]>('tag', [])
|
||||
const tagList = computed(() => ({
|
||||
current: [],
|
||||
others: tags.value
|
||||
currents: [].map(tag => ({ type: 'custom' as const, label: tag })),
|
||||
others: tags.value.map(tag => ({ type: 'custom' as const, label: tag }))
|
||||
}))
|
||||
|
||||
const { onOrderingUpdate, orderingString, paginateBy, ordering, orderingDirection } = useOrdering(props)
|
||||
|
|
Loading…
Reference in New Issue