Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
feat(frontend:spaces): open documents in edit mode on double-click
johavend6ef175d951b
diff --git a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts b/frontend/src/app/applications/spaces/components/spaces-browser.component.tsindex de1aa00d..33ef9765 100644--- a/frontend/src/app/applications/spaces/components/spaces-browser.component.ts+++ b/frontend/src/app/applications/spaces/components/spaces-browser.component.ts@@ -416,7 +416,7 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroyif (file.isDir) {this.router.navigate([file.root?.alias || file.name], { relativeTo: this.activatedRoute }).catch(console.error)} else {- this.shortcutView()+ this.shortcutView(true)}}}@@ -434,9 +434,11 @@ export class SpacesBrowserComponent implements OnInit, AfterViewInit, OnDestroy}}- shortcutView() {+ shortcutView(editMode = false) {if (this.selection[0].isDir) {this.browse(this.selection[0])+ } else if (editMode && this.selection[0].isEditable) {+ this.openViewerDialog('edit')} else if (this.selection[0].isViewable) {this.openViewerDialog('view')} else {