Browse Source

Revert "refactor: context menu update option"

This reverts commit de65ea3041.
pull/5977/head
Raju Udava 1 year ago
parent
commit
872550fd52
  1. 4
      packages/nc-gui/components/smartsheet/Grid.vue

4
packages/nc-gui/components/smartsheet/Grid.vue

@ -82,8 +82,6 @@ const isView = false
let editEnabled = $ref(false) let editEnabled = $ref(false)
const { appInfo } = useGlobal()
const { xWhere, isPkAvail, isSqlView, eventBus } = useSmartsheetStoreOrThrow() const { xWhere, isPkAvail, isSqlView, eventBus } = useSmartsheetStoreOrThrow()
const visibleColLength = $computed(() => fields.value?.length) const visibleColLength = $computed(() => fields.value?.length)
@ -1131,7 +1129,7 @@ function addEmptyRow(row?: number) {
</a-menu-item> </a-menu-item>
<a-menu-item <a-menu-item
v-if="appInfo.ee && !contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected)" v-if="!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected)"
@click="bulkUpdateDlg = true" @click="bulkUpdateDlg = true"
> >
<div v-e="['a:row:update-bulk']" class="nc-project-menu-item"> <div v-e="['a:row:update-bulk']" class="nc-project-menu-item">

Loading…
Cancel
Save