From f9c910d2c1c9b3a42ba51987fffb99879bbf2655 Mon Sep 17 00:00:00 2001 From: azayati Date: Wed, 25 Mar 2026 19:18:50 +0100 Subject: [PATCH] fix: Fix opening document with edit permission from unified search - EXO-85244 --- .../vue-app/files-search/components/FileSearchCard.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/documents-webapp/src/main/webapp/vue-app/files-search/components/FileSearchCard.vue b/documents-webapp/src/main/webapp/vue-app/files-search/components/FileSearchCard.vue index 879d4aadc..e1b790b4f 100644 --- a/documents-webapp/src/main/webapp/vue-app/files-search/components/FileSearchCard.vue +++ b/documents-webapp/src/main/webapp/vue-app/files-search/components/FileSearchCard.vue @@ -194,11 +194,7 @@ export default { openFilePreview() { this.result.path = this.result.nodePath; if (this.isFileEditable) { - if (this.result?.acl?.canEdit){ - window.open(this.$documentsUtils.getEditorUrl(this.result,''), '_blank'); - } else { - window.open(this.$documentsUtils.getEditorUrl(this.result,'view'), '_blank'); - } + window.open(this.$documentsUtils.getEditorUrl(this.result,''), '_blank'); } else if (this.isFileReadable) { window.open(this.$documentsUtils.getEditorUrl(this.result,'view'), '_blank'); } else {