From 5ff60377e0787278ae5c619329437561e463c82f Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Mon, 25 Nov 2024 16:17:03 -0500 Subject: [PATCH] chore: `npm run lint:fix` Signed-off-by: Elizabeth Danzberger --- src/helpers/url.js | 2 +- src/view/Office.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/helpers/url.js b/src/helpers/url.js index afc16074da..24bacd5d7e 100644 --- a/src/helpers/url.js +++ b/src/helpers/url.js @@ -45,7 +45,7 @@ const getWopiSrc = (fileId) => { return wopiurl } -const getWopiUrl = ({ fileId, title, readOnly, closeButton, revisionHistory, target = undefined }) => { +const getWopiUrl = ({ fileId, readOnly, closeButton, revisionHistory, target = undefined }) => { // Only set the revision history parameter if the versions app is enabled revisionHistory = revisionHistory && window?.oc_appswebroots?.files_versions diff --git a/src/view/Office.vue b/src/view/Office.vue index 072b211129..1b82ddb289 100644 --- a/src/view/Office.vue +++ b/src/view/Office.vue @@ -315,7 +315,6 @@ export default { // Generate form and submit to the iframe const action = getWopiUrl({ fileId: fileid + '_' + loadState('richdocuments', 'instanceId', 'instanceid') + (version > 0 ? '_' + version : ''), - title: this.filename, readOnly: version > 0, revisionHistory: !this.isPublic, closeButton: !Config.get('hideCloseButton'),