Browse Source

fix: review changes #7173

pull/7173/head
Ramesh Mane 12 months ago
parent
commit
882055f513
  1. 2
      packages/nc-gui/components/smartsheet/grid/Table.vue
  2. 2
      packages/nc-gui/components/smartsheet/header/Cell.vue

2
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1735,7 +1735,7 @@ onKeyStroke('ArrowDown', onDown)
class="nc-base-menu-item"
:disabled="isSystemColumn(fields[contextMenuTarget.col])"
@click="clearSelectedRangeOfCells()"
:disabled="!!isSystemColumn(fields[contextMenuTarget.col])"
:disabled="isSystemColumn(fields[contextMenuTarget.col])"
>
<div v-e="['a:row:clear-range']" class="flex gap-2 items-center">
<GeneralIcon icon="closeBox" class="text-gray-500" />

2
packages/nc-gui/components/smartsheet/header/Cell.vue

@ -49,7 +49,7 @@ const closeAddColumnDropdown = () => {
}
const openHeaderMenu = () => {
if (isLocked.value || (!!isSystemColumn(column.value) && column.value.uidt !== UITypes.ID)) return
if (isLocked.value || (isSystemColumn(column.value) && column.value.uidt !== UITypes.ID)) return
if (!isForm.value && !isExpandedForm.value && isUIAllowed('fieldEdit') && !isMobileMode.value) {
editColumnDropdown.value = true

Loading…
Cancel
Save