fix: resolve Ant switch and unused board menu type errors blocking push
This commit is contained in:
@@ -309,7 +309,7 @@ watch(
|
|||||||
<a-space v-else-if="f.type === 'checkbox'" :size="8">
|
<a-space v-else-if="f.type === 'checkbox'" :size="8">
|
||||||
<a-switch
|
<a-switch
|
||||||
:checked="get<boolean>(f.key, false) === true"
|
:checked="get<boolean>(f.key, false) === true"
|
||||||
@update:checked="(v: boolean) => set(f.key, v)"
|
@update:checked="(v) => set(f.key, v === true)"
|
||||||
/>
|
/>
|
||||||
<a-typography-text>
|
<a-typography-text>
|
||||||
{{ get<boolean>(f.key, false) === true ? 'بله' : 'خیر' }}
|
{{ get<boolean>(f.key, false) === true ? 'بله' : 'خیر' }}
|
||||||
|
|||||||
@@ -215,7 +215,6 @@ const board = computed<string>(() => {
|
|||||||
return defaultBoardId.value;
|
return defaultBoardId.value;
|
||||||
});
|
});
|
||||||
const currentBoard = computed(() => boards.value.find((b) => b.id === board.value) ?? null);
|
const currentBoard = computed(() => boards.value.find((b) => b.id === board.value) ?? null);
|
||||||
const boardMenuOpen = ref(false);
|
|
||||||
const boardModal = ref<{ mode: 'create' | 'edit'; name: string } | null>(null);
|
const boardModal = ref<{ mode: 'create' | 'edit'; name: string } | null>(null);
|
||||||
const boardSaving = ref(false);
|
const boardSaving = ref(false);
|
||||||
const boardDeleteOpen = ref(false);
|
const boardDeleteOpen = ref(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user