Browse Source

feat: Disabled commmenting from context menu when multiple rows are selected

pull/6919/head
Muhammed Mustafa 1 year ago
parent
commit
feefcc0e7b
  1. 2
      packages/nc-gui/components/smartsheet/grid/Table.vue

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

@ -1731,7 +1731,7 @@ onKeyStroke('ArrowDown', onDown)
{{ $t('general.clear') }}
</NcMenuItem>
<template v-if="contextMenuTarget && isUIAllowed('commentEdit') && !isMobileMode">
<template v-if="contextMenuTarget && selectedRange.isSingleCell() && isUIAllowed('commentEdit') && !isMobileMode">
<NcDivider />
<NcMenuItem v-e="['a:row:comment']" class="nc-base-menu-item" @click="commentRow(contextMenuTarget.row)">
<MdiMessageOutline class="h-4 w-4" />

Loading…
Cancel
Save