Skip to content

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

fix: issue with editef file history

Ilian Sapundshiev9e8f540268e1
diff --git a/src/renderer/components/EntryContainer.tsx b/src/renderer/components/EntryContainer.tsx
index 0f1bbaf8c..274382390 100644
--- a/src/renderer/components/EntryContainer.tsx
+++ b/src/renderer/components/EntryContainer.tsx
@@ -593,7 +593,7 @@ function EntryContainer() {
historyKeys.fileEditKey,
{
path: fileOpen.path,
- url: generateSharingLink(fileOpen.url, fileOpen.path),
+ url: generateSharingLink(fileOpen.locationId, fileOpen.path),
lid: fileOpen.locationId,
},
fileEditHistoryKey,