|
|
@ -9,6 +9,7 @@ import { |
|
|
|
IsGridInj, |
|
|
|
IsGridInj, |
|
|
|
IsKanbanInj, |
|
|
|
IsKanbanInj, |
|
|
|
IsLockedInj, |
|
|
|
IsLockedInj, |
|
|
|
|
|
|
|
IsPublicInj, |
|
|
|
MetaInj, |
|
|
|
MetaInj, |
|
|
|
OpenNewRecordFormHookInj, |
|
|
|
OpenNewRecordFormHookInj, |
|
|
|
ReadonlyInj, |
|
|
|
ReadonlyInj, |
|
|
@ -32,6 +33,8 @@ const openNewRecordFormHook = inject(OpenNewRecordFormHookInj, createEventHook() |
|
|
|
|
|
|
|
|
|
|
|
const isLocked = inject(IsLockedInj, ref(false)) |
|
|
|
const isLocked = inject(IsLockedInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isPublic = inject(IsPublicInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
const expandedFormDlg = ref(false) |
|
|
|
const expandedFormDlg = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
const expandedFormRow = ref<RowType>() |
|
|
|
const expandedFormRow = ref<RowType>() |
|
|
@ -164,7 +167,9 @@ const handleDeleteStackConfirmClick = async () => { |
|
|
|
|
|
|
|
|
|
|
|
const handleCollapseStack = async (stackIdx: number) => { |
|
|
|
const handleCollapseStack = async (stackIdx: number) => { |
|
|
|
groupingFieldColOptions.value[stackIdx].collapsed = !groupingFieldColOptions.value[stackIdx].collapsed |
|
|
|
groupingFieldColOptions.value[stackIdx].collapsed = !groupingFieldColOptions.value[stackIdx].collapsed |
|
|
|
await updateKanbanStackMeta() |
|
|
|
if (!isPublic.value) { |
|
|
|
|
|
|
|
await updateKanbanStackMeta() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
openNewRecordFormHook?.on(async (stackTitle) => { |
|
|
|
openNewRecordFormHook?.on(async (stackTitle) => { |
|
|
|