fix: create file button disabled

This commit is contained in:
Arman authored and Torsten Dittmann committed 2023-12-27 15:23:28 +01:00
1 parent 0cbf9e966e
commit ce98103568
1 file changed
+1 -1
@@ -53,7 +53,7 @@
const projectId = $page.params.project;
const bucketId = $page.params.bucket;
const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'MB');
const usedStorage = bytesToSize(data.organizationUsage.storageTotal, 'GB');
const getPreview = (fileId: string) =>
sdk.forProject.storage.getFilePreview(bucketId, fileId, 32, 32).toString() + '&mode=admin';