Browse Source

chores: used a better name

Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: frankmagoba <franklinmagoba4@gmail.com>
Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
pull/5419/head
gitstart 2 years ago
parent
commit
bc3c591b3b
  1. 4
      packages/nc-gui/components/smartsheet/Grid.vue

4
packages/nc-gui/components/smartsheet/Grid.vue

@ -753,7 +753,7 @@ const closeAddColumnDropdown = () => {
addColumnDropdown.value = false
}
const deleteRowModal = (row: number) => {
const confirmDeleteRow = (row: number) => {
Modal.confirm({
title: `Do you want to delete this row?`,
wrapClassName: 'nc-modal-attachment-delete',
@ -990,7 +990,7 @@ const deleteRowModal = (row: number) => {
<template v-if="!isLocked && hasEditPermission" #overlay>
<a-menu class="shadow !rounded !py-0" @click="contextMenu = false">
<a-menu-item v-if="contextMenuTarget" @click="deleteRowModal(contextMenuTarget.row)">
<a-menu-item v-if="contextMenuTarget" @click="confirmDeleteRow(contextMenuTarget.row)">
<div v-e="['a:row:delete']" class="nc-project-menu-item">
<!-- Delete Row -->
{{ $t('activity.deleteRow') }}

Loading…
Cancel
Save