diff --git a/pages/Settings.tsx b/pages/Settings.tsx index bb1b939..9793080 100644 --- a/pages/Settings.tsx +++ b/pages/Settings.tsx @@ -360,12 +360,18 @@ export const SettingsPage: React.FC = () => {

Storage Cloud

- + {storageForm.provider !== 'local_db' && (
- setStorageForm({...storageForm, apiKey: e.target.value})} className="w-full border p-3 rounded-xl" placeholder="API Key / Access Key" /> + setStorageForm({...storageForm, apiKey: e.target.value})} className="w-full border p-3 rounded-xl" placeholder="API Key / Client ID" /> setStorageForm({...storageForm, apiSecret: e.target.value})} className="w-full border p-3 rounded-xl" placeholder="Secret Key" type="password" /> - setStorageForm({...storageForm, bucket: e.target.value})} className="w-full border p-3 rounded-xl" placeholder="Bucket Name" /> + setStorageForm({...storageForm, bucket: e.target.value})} className="w-full border p-3 rounded-xl" placeholder={storageForm.provider === 's3' ? "Bucket Name" : "Folder / Container"} />
)}