Browse Source

feat(nc-gui): skipping update kanban stack meta in share view

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
e36b125dd4
  1. 5
      packages/nc-gui/components/smartsheet/Kanban.vue

5
packages/nc-gui/components/smartsheet/Kanban.vue

@ -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) => {

Loading…
Cancel
Save