diff --git a/frontend/src/components/bucket/BucketList.vue b/frontend/src/components/bucket/BucketList.vue index df21cb33..04241953 100644 --- a/frontend/src/components/bucket/BucketList.vue +++ b/frontend/src/components/bucket/BucketList.vue @@ -16,14 +16,17 @@ const { getUserId } = storeToRefs(useAuthStore()); const { getConfig } = storeToRefs(useConfigStore()); // State -const sidebarInfo: Ref = ref(undefined); +const sidebarInfo: Ref = ref(undefined); const displayBucketConfig: Ref = ref(false); const bucketConfigTitle: Ref = ref(BucketConfig.TITLE_NEW_BUCKET); const bucketToUpdate: Ref = ref(undefined); +// const dataId = defineModel('dataId', { type: String }); +// const dataId: Ref = ref(undefined); + // Actions -const showSidebarInfo = async (bucketId: string) => { - sidebarInfo.value = bucketStore.findBucketById(bucketId); +const showSidebarInfo = (bucketId: string) => { + sidebarInfo.value = bucketId; }; const closeSidebarInfo = () => { @@ -117,6 +120,7 @@ onMounted(async () => {
+ { class="flex-shrink-0 w-4 pl-4 max-w-28rem" >
diff --git a/frontend/src/components/bucket/BucketSidebar.vue b/frontend/src/components/bucket/BucketSidebar.vue index 1b3011b5..8ac4a969 100644 --- a/frontend/src/components/bucket/BucketSidebar.vue +++ b/frontend/src/components/bucket/BucketSidebar.vue @@ -1,31 +1,24 @@