Fix redirect on delete
This commit is contained in:
parent
3a58aa624f
commit
426f63271b
|
@ -34,7 +34,9 @@
|
|||
async function deleteView() {
|
||||
try {
|
||||
const isSelected =
|
||||
decodeURIComponent($params.viewName) === $views.selectedViewName
|
||||
view.tableId === $views.selected.tableId &&
|
||||
view.name === $views.selected.name
|
||||
|
||||
const { tableId } = view
|
||||
await views.delete(view)
|
||||
notifications.success("View deleted")
|
||||
|
|
Loading…
Reference in New Issue