Skip to content

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

chore: always save the sharingurl in the bookmarks

Ilian Sapundshiev4ad0fa38bba5
diff --git a/app/components/EntryContainer.tsx b/app/components/EntryContainer.tsx
index 5511256aa..3fe531a02 100644
--- a/app/components/EntryContainer.tsx
+++ b/app/components/EntryContainer.tsx
@@ -668,10 +668,7 @@ function EntryContainer(props: Props) {
if (haveBookmark) {
Pro.bookmarks.delBookmark(openedFile.path);
} else {
- Pro.bookmarks.setBookmark(
- openedFile.path,
- openedFile.url ? sharingLink : undefined
- );
+ Pro.bookmarks.setBookmark(openedFile.path, sharingLink);
}
forceUpdate();
} else {