web/satellite/vuetify-poc: fix file preview

This change fixes an issue where clicking a file in the Vuetify UI's
object browser would open an empty file preview dialog.

Change-Id: I5e21cf2e8c57911ac2708110f6ad23f376f86a54
This commit is contained in:
Jeremy Wharton 2023-11-01 10:15:48 -05:00 committed by Storj Robot
parent 51c930f532
commit e482e1296e

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