Skip to content

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

fix: issue with the back button

Ilian Sapundshievbf3a8b0a134e
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index 624da1dd1..73181005e 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -2524,6 +2524,8 @@ export const actions = {
actions.showNotification(i18n.t('core:invalidLink'), 'warning', true)
);
}
+ } else if (decodedURI.endsWith(location.pathname)) {
+ return true;
} else if (
// External URL case
decodedURI.startsWith('http://') ||