From 667b7c6f795c2be893958ca001a326a3aec3f12b Mon Sep 17 00:00:00 2001 From: Wilfred Asomani Date: Wed, 25 Oct 2023 14:20:38 +0000 Subject: [PATCH] web/satellite/vuetify-poc: fix file preview This change fixes an issue where clicking on a file from the upload snackbar would not preview it. Issue: #6433 Change-Id: I30b0b6098e058d1069b87f99425fac5d6e421fea --- .../vuetify-poc/src/components/BrowserTableComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/satellite/vuetify-poc/src/components/BrowserTableComponent.vue b/web/satellite/vuetify-poc/src/components/BrowserTableComponent.vue index b9778c0fc..0285e66e5 100644 --- a/web/satellite/vuetify-poc/src/components/BrowserTableComponent.vue +++ b/web/satellite/vuetify-poc/src/components/BrowserTableComponent.vue @@ -416,7 +416,7 @@ function onFileClick(file: BrowserObject): void { return; } - obStore.setObjectPathForModal(file.path + file.Key); + obStore.setObjectPathForModal(file.path ?? '' + file.Key); previewDialog.value = true; isFileGuideShown.value = false; LocalData.setFileGuideHidden();