web/satellite: fix broken preview link
This change fixes an issue where the gallery view will use wrong links display object previews because they were encoded multiple times. Issue: https://github.com/storj/customer-issues/issues/961 Change-Id: I498878e9beb927b812e40d4c7e5ae812cfa3554c
This commit is contained in:
parent
84e75d5994
commit
36f8eeb272
@ -258,7 +258,7 @@ const placeHolderDisplayable = computed((): boolean => {
|
||||
* Returns current path without object key.
|
||||
*/
|
||||
const currentPath = computed((): string => {
|
||||
return route.path.replace(RouteConfig.Buckets.with(RouteConfig.UploadFile).path, '');
|
||||
return decodeURIComponent(route.path.replace(RouteConfig.Buckets.with(RouteConfig.UploadFile).path, ''));
|
||||
});
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user