TagSpaces is an offline, open source, document manager with tagging support
making the access and secret access keys optional in the location edit dialog
Ilian Sapundshiev317a3eb25d9b
diff --git a/app/components/dialogs/EditLocationDialog.js b/app/components/dialogs/EditLocationDialog.jsindex 76bd0ec3a..0a6955251 100644--- a/app/components/dialogs/EditLocationDialog.js+++ b/app/components/dialogs/EditLocationDialog.js@@ -157,15 +157,15 @@ class EditLocationDialog extends React.Component<Props, State> {disableConfirmButton = true;} */- if (!this.state.accessKeyId || this.state.accessKeyId.length === 0) {- cloudErrorAccessKey = true;- disableConfirmButton = true;- }+ // if (!this.state.accessKeyId || this.state.accessKeyId.length === 0) {+ // cloudErrorAccessKey = true;+ // disableConfirmButton = true;+ // }- if (!this.state.secretAccessKey || this.state.secretAccessKey.length === 0) {- cloudErrorSecretAccessKey = true;- disableConfirmButton = true;- }+ // if (!this.state.secretAccessKey || this.state.secretAccessKey.length === 0) {+ // cloudErrorSecretAccessKey = true;+ // disableConfirmButton = true;+ // }if (!this.state.bucketName || this.state.bucketName.length === 0) {cloudErrorBucketName = true;@@ -180,8 +180,8 @@ class EditLocationDialog extends React.Component<Props, State> {this.setState({cloudErrorTextName,// cloudErrorTextPath,- cloudErrorAccessKey,- cloudErrorSecretAccessKey,+ // cloudErrorAccessKey,+ // cloudErrorSecretAccessKey,cloudErrorBucketName,disableConfirmButton,cloudErrorRegion