TagSpaces is an offline, open source, document manager with tagging support
feat: added location name to app title
Ilian Sapundshiev587ee1275caf
diff --git a/src/renderer/hooks/OpenedEntryContextProvider.tsx b/src/renderer/hooks/OpenedEntryContextProvider.tsxindex 7ed23aa24..3738ee58e 100644--- a/src/renderer/hooks/OpenedEntryContextProvider.tsx+++ b/src/renderer/hooks/OpenedEntryContextProvider.tsx@@ -537,7 +537,9 @@ export const OpenedEntryContextProvider = ({entryForOpening.isAutoSaveEnabled = fsEntry.meta.autoSave;}- document.title = fsEntry.name + ' | ' + 'TagSpaces'; // TODO get it later from app config+ const locationName = currentLocation ? currentLocation.name : 'TagSpaces'; // TODO get it later from app config++ document.title = fsEntry.name + ' | ' + locationName;if (currentLocation) {entryForOpening.locationId = currentLocation.uuid;