|
|
@ -81,7 +81,7 @@ const duplicateRowHandler = async (action, context) => { |
|
|
|
|
|
|
|
|
const deleteRowHandler = async action => { |
|
|
const deleteRowHandler = async action => { |
|
|
const { tableId, revId, rowId } = action.parameters |
|
|
const { tableId, revId, rowId } = action.parameters |
|
|
if (tableId && revId && rowId) { |
|
|
if (tableId && rowId) { |
|
|
try { |
|
|
try { |
|
|
await API.deleteRow({ tableId, rowId, revId }) |
|
|
await API.deleteRow({ tableId, rowId, revId }) |
|
|
notificationStore.actions.success("Row deleted") |
|
|
notificationStore.actions.success("Row deleted") |
|
|
|