fix: delete resource use window location
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
$status.database.initialLoading = true;
|
||||
try {
|
||||
await del(`/databases/${database.id}`, { id: database.id, force });
|
||||
return await goto('/', { replaceState: true });
|
||||
return await window.location.assign('/');
|
||||
} catch (error) {
|
||||
return errorNotification(error);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user