diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index c9b81b0e1e..4b001cb8a7 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -798,20 +798,11 @@ const closeAddColumnDropdown = (scrollToLastCol = false) => { } const confirmDeleteRow = (row: number) => { - Modal.confirm({ - title: `Do you want to delete this row?`, - wrapClassName: 'nc-modal-row-delete', - okText: 'Yes', - okType: 'danger', - cancelText: 'No', - onOk() { - try { - deleteRow(row) - } catch (e: any) { - message.error(e.message) - } - }, - }) + try { + deleteRow(row) + } catch (e: any) { + message.error(e.message) + } } const deleteSelectedRangeOfRows = () => {