From 1a49028736349ccdd52a5a4b56621923c7f1dc3f Mon Sep 17 00:00:00 2001 From: niubility000 <76441520+niubility000@users.noreply.github.com> Date: Fri, 12 Nov 2021 22:36:51 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> --- frontend/src/views/files/Preview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/files/Preview.vue b/frontend/src/views/files/Preview.vue index a00098f0..749cdcd9 100644 --- a/frontend/src/views/files/Preview.vue +++ b/frontend/src/views/files/Preview.vue @@ -305,7 +305,7 @@ export default { for (let j = i - 1; j >= 0; j--) { if (mediaTypes.includes(this.listing[j].type)) { this.previousLink = this.listing[j].url; - this.previousRaw=`${this.prefetchUrl(this.listing[j], this.previousLink)}&inline=true`; + this.previousRaw = this.prefetchUrl(this.listing[j]); break; } }