mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: remove Promise.allSettled
This commit is contained in:
1 parent
8d09afb635
commit
0eb5e09046
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@
|
||||
async function submit() {
|
||||
try {
|
||||
await option.update(databaseId, collectionId, selectedAttribute);
|
||||
await Promise.allSettled([invalidate(Dependencies.COLLECTION)]);
|
||||
await invalidate(Dependencies.COLLECTION);
|
||||
if (!$page.url.pathname.includes('attributes')) {
|
||||
await goto(
|
||||
`${base}/console/project-${$page.params.project}/databases/database-${databaseId}/collection-${collectionId}/attributes`
|
||||
|
||||
Reference in new issue
Block a user