Fix redirect on delete

This commit is contained in:
Adria Navarro 2023-07-20 10:46:05 +02:00
parent 3a58aa624f
commit 426f63271b
1 changed files with 3 additions and 1 deletions

View File

@ -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")