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
This commit is contained in:
Wilfred Asomani 2023-10-25 14:20:38 +00:00 committed by Wilfred Asomani
parent 539253f646
commit 667b7c6f79

View File

@ -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();