diff --git a/frontend/src/components/bucket/BucketList.vue b/frontend/src/components/bucket/BucketList.vue index df21cb33..22ff6ce8 100644 --- a/frontend/src/components/bucket/BucketList.vue +++ b/frontend/src/components/bucket/BucketList.vue @@ -41,6 +41,11 @@ const closeBucketConfig = () => { }; onMounted(async () => { + while (!getUserId.value) { + await new Promise((r) => { + setTimeout(r, 500); + }); + } await bucketStore.fetchBuckets({ userId: getUserId.value, objectPerms: true }); });