|
|
|
@ -1545,7 +1545,7 @@ const expandAndLooseFocus = (row: Row, col: Record<string, any>) => {
|
|
|
|
|
Clear |
|
|
|
|
</div> |
|
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
<NcDivider class="!m-0" /> |
|
|
|
|
<a-menu-item |
|
|
|
|
v-if="contextMenuTarget && (selectedRange.isSingleCell() || selectedRange.isSingleRow())" |
|
|
|
|
@click="confirmDeleteRow(contextMenuTarget.row)" |
|
|
|
@ -1556,14 +1556,16 @@ const expandAndLooseFocus = (row: Row, col: Record<string, any>) => {
|
|
|
|
|
{{ $t('activity.deleteRow') }} |
|
|
|
|
</div> |
|
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
<a-menu-item v-else-if="contextMenuTarget && deleteRangeOfRows" @click="deleteSelectedRangeOfRows"> |
|
|
|
|
<div v-else-if="contextMenuTarget && deleteRangeOfRows"> |
|
|
|
|
<NcDivider class="!m-0" /> |
|
|
|
|
<a-menu-item @click="deleteSelectedRangeOfRows"> |
|
|
|
|
<div v-e="['a:row:delete']" class="nc-project-menu-item text-red-600"> |
|
|
|
|
<GeneralIcon icon="delete" class="text-gray-500 text-error" /> |
|
|
|
|
<!-- Delete Rows --> |
|
|
|
|
Delete rows |
|
|
|
|
</div> |
|
|
|
|
</a-menu-item> |
|
|
|
|
</div> |
|
|
|
|
</a-menu> |
|
|
|
|
</template> |
|
|
|
|
</a-dropdown> |
|
|
|
|