Browse Source

chore(nc-gui): remove rename stack from dropdown menu

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

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

@ -153,10 +153,6 @@ const handleCollapseStack = async (stackIdx: number) => {
await updateKanbanStackMeta() await updateKanbanStackMeta()
} }
const renameStack = () => {
// TODO:
}
openNewRecordFormHook?.on(async (stackTitle) => { openNewRecordFormHook?.on(async (stackTitle) => {
const newRow = await addEmptyRow() const newRow = await addEmptyRow()
// preset the grouping field value // preset the grouping field value
@ -220,13 +216,6 @@ openNewRecordFormHook?.on(async (stackTitle) => {
Collapse Stack Collapse Stack
</div> </div>
</a-menu-item> </a-menu-item>
<a-menu-item v-if="stack.title !== 'Uncategorized'" @click="renameStack">
<div class="py-2 flex gap-2 items-center">
<mdi-pencil class="text-gray-500" />
<!-- TODO: i18n -->
Rename Stack
</div>
</a-menu-item>
<a-menu-item v-if="stack.title !== 'Uncategorized'" @click="handleDeleteStackClick(stack.title)"> <a-menu-item v-if="stack.title !== 'Uncategorized'" @click="handleDeleteStackClick(stack.title)">
<div class="py-2 flex gap-2 items-center"> <div class="py-2 flex gap-2 items-center">
<mdi-delete class="text-gray-500" /> <mdi-delete class="text-gray-500" />

Loading…
Cancel
Save