A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
fix: resolves storage auth options appearing twice while editing storage
towfiqi73e8d67e7f47
diff --git a/frontend/src/components/Storage/EditStorage/EditStorage.tsx b/frontend/src/components/Storage/EditStorage/EditStorage.tsxindex 8d2d185..9f7c46d 100644--- a/frontend/src/components/Storage/EditStorage/EditStorage.tsx+++ b/frontend/src/components/Storage/EditStorage/EditStorage.tsx@@ -39,7 +39,7 @@ const EditStorage = ({ close, storage }: EditStorageProps) => {storage.storageFields.forEach((field: storageOptionField) => {if (field.required) {(groupedFields.required as storageOptionField[]).push(field);- } else {+ } else if (!field.authFieldType) {(groupedFields.optional as storageOptionField[]).push(field);}});