Skip to content

Commit a39cdcd

Browse files
committed
Fix dynamic outputs
1 parent 48fdae8 commit a39cdcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/viewers/OutputCard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ class OutputCard extends React.Component {
445445
if (!(view.display === 'viewer') && view_options.length > 0) {
446446
if (view.display === undefined || view.display === 'single') {
447447
const view_options_selected = view_options.map(o => [o.unnamed_group !== undefined ? o.unnamed_group : o.name, o.selected[0]])
448-
var paths = [compilePath(view.path)(Object.fromEntries(view_options_selected))]
448+
var paths = [compilePath(view.path)(Object.fromEntries(view_options_selected))].map(p => decodeURIComponent(p))
449449
// Note: before we had a path with / and other characters, and now it's url encoded
450450
} else if (view.display === 'all') {
451451
paths = Object.keys(this.state.manifests.new).filter(path => matchPath(path, { path: view.path }))

0 commit comments

Comments
 (0)