Skip to content

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

feature: open internal links to files in full width

Ilian Sapundshiev7f8d35e10d29
diff --git a/app/reducers/app.ts b/app/reducers/app.ts
index fe9e30531..e98efcb1f 100644
--- a/app/reducers/app.ts
+++ b/app/reducers/app.ts
@@ -2001,6 +2001,7 @@ export const actions = {
.then((fsEntry: TS.FileSystemEntry) => {
if (fsEntry.isFile) {
dispatch(actions.openFsEntry(fsEntry));
+ dispatch(actions.setEntryFullWidth(true));
} else {
dispatch(actions.loadDirectoryContent(fsEntry.path, false));
}
@@ -2042,6 +2043,7 @@ export const actions = {
.then((fsEntry: TS.FileSystemEntry) => {
if (fsEntry) {
dispatch(actions.openFsEntry(fsEntry));
+ dispatch(actions.setEntryFullWidth(true));
}
return true;
})
@@ -2094,6 +2096,7 @@ export const actions = {
.then((fsEntry: TS.FileSystemEntry) => {
if (fsEntry) {
dispatch(actions.openFsEntry(fsEntry));
+ dispatch(actions.setEntryFullWidth(true));
}
return true;
})