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