Skip to content

TagSpaces is an offline, open source, document manager with tagging support

use index in readonly location

sytolk3a64b8308573
diff --git a/src/renderer/utils/CommonLocation.ts b/src/renderer/utils/CommonLocation.ts
index f2608294f..ca12c923f 100644
--- a/src/renderer/utils/CommonLocation.ts
+++ b/src/renderer/utils/CommonLocation.ts
@@ -891,9 +891,9 @@ export class CommonLocation implements TS.Location {
extractText: boolean,
ignorePatterns: Array<string>,
): Promise<any> => {
- if (this.isReadOnly) {
+ /*if (this.isReadOnly) {
return Promise.reject(new Error('read only Location'));
- }
+ }*/
if (
AppConfig.isElectron &&
!this.haveObjectStoreSupport() &&