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