diff --git a/client/src/components/User/DiskUsage/Visualizations/ObjectStoresStorageOverview.vue b/client/src/components/User/DiskUsage/Visualizations/ObjectStoresStorageOverview.vue index e6e21c927bae..aa6efe55a2fb 100644 --- a/client/src/components/User/DiskUsage/Visualizations/ObjectStoresStorageOverview.vue +++ b/client/src/components/User/DiskUsage/Visualizations/ObjectStoresStorageOverview.vue @@ -20,10 +20,10 @@ const router = useRouter(); const objectStoresBySizeData = ref(null); -const { isLoading, loadDataOnMount } = useDataLoading(); - const { getObjectStoreNameById } = useObjectStoreStore(); +const { isLoading, loadDataOnMount } = useDataLoading(); + loadDataOnMount(async () => { const { data } = await fetchObjectStoreUsages({ user_id: "current" }); const objectStoresBySize = data.sort((a, b) => b.total_disk_usage - a.total_disk_usage);