|
|
@ -1498,7 +1498,8 @@ const expandAndLooseFocus = (row: Row, col: Record<string, any>) => { |
|
|
|
<NcMenuItem |
|
|
|
<NcMenuItem |
|
|
|
v-if="!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected)" |
|
|
|
v-if="!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected)" |
|
|
|
v-e="['a:row:delete-bulk']" |
|
|
|
v-e="['a:row:delete-bulk']" |
|
|
|
class="nc-project-menu-item" |
|
|
|
class="nc-project-menu-item !text-red-600 !hover:bg-red-50" |
|
|
|
|
|
|
|
data-testid="nc-delete-row" |
|
|
|
@click="deleteSelectedRows" |
|
|
|
@click="deleteSelectedRows" |
|
|
|
> |
|
|
|
> |
|
|
|
<component :is="iconMap.delete" /> |
|
|
|
<component :is="iconMap.delete" /> |
|
|
@ -1554,7 +1555,7 @@ const expandAndLooseFocus = (row: Row, col: Record<string, any>) => { |
|
|
|
<GeneralIcon icon="closeBox" class="text-gray-500" /> |
|
|
|
<GeneralIcon icon="closeBox" class="text-gray-500" /> |
|
|
|
Clear |
|
|
|
Clear |
|
|
|
</NcMenuItem> |
|
|
|
</NcMenuItem> |
|
|
|
<NcDivider /> |
|
|
|
<NcDivider v-if="!(!contextMenuClosing && !contextMenuTarget && data.some((r) => r.rowMeta.selected))" /> |
|
|
|
<NcMenuItem |
|
|
|
<NcMenuItem |
|
|
|
v-if="contextMenuTarget && (selectedRange.isSingleCell() || selectedRange.isSingleRow())" |
|
|
|
v-if="contextMenuTarget && (selectedRange.isSingleCell() || selectedRange.isSingleRow())" |
|
|
|
v-e="['a:row:delete']" |
|
|
|
v-e="['a:row:delete']" |
|
|
|