more tests
This commit is contained in:
parent
307297f836
commit
d0b00db195
8 changed files with 384 additions and 103 deletions
|
|
@ -6,7 +6,7 @@ export function useMainStatus(statusId) {
|
|||
const statusesStore = useStatusesStore()
|
||||
const getStatusObject = (id) => statusesStore.allStatuses.get(id)
|
||||
|
||||
const status = computed(() => getStatusObject(toValue(statusId)))
|
||||
const status = computed(() => getStatusObject(toValue(statusId)) ?? null)
|
||||
|
||||
const mainStatus = computed(() => {
|
||||
if (!status.value) return null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue