TagSpaces is an offline, open source, document manager with tagging support
fix: supporting paths for location for compatibility reasons
Ilian Sapundshiev06f548ba4ab4
diff --git a/app/components/dialogs/EditLocationDialog.tsx b/app/components/dialogs/EditLocationDialog.tsxindex f58f2d4a9..abb1d5e31 100644--- a/app/components/dialogs/EditLocationDialog.tsx+++ b/app/components/dialogs/EditLocationDialog.tsx@@ -292,6 +292,7 @@ class EditLocationDialog extends React.Component<Props, State> {type: locationType.TYPE_LOCAL,name: this.state.name,path: this.state.path,+ paths: [this.state.path], // deprecated, kept for compatibility with older versionsisDefault: this.state.isDefault,isReadOnly: this.state.isReadOnly,persistIndex: this.state.persistIndex,@@ -305,6 +306,7 @@ class EditLocationDialog extends React.Component<Props, State> {type: locationType.TYPE_CLOUD,name: this.state.storeName,path: this.state.storePath,+ paths: [this.state.path], // deprecated, kept for compatibility with older versionsendpointURL: this.state.endpointURL,accessKeyId: this.state.accessKeyId,secretAccessKey: this.state.secretAccessKey,