Skip to content

Commit d1f5d5e

Browse files
committed
Fix #41
1 parent 886ca9e commit d1f5d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/openblocks/src/util/appUtils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function openApp(props: {
3636
if (!m || !props.applicationId) {
3737
return;
3838
}
39-
let targetURL = APPLICATION_VIEW_URL(props.applicationId, m.params.viewMode);
39+
let targetURL = APPLICATION_VIEW_URL(props.applicationId, m.params.viewMode || "view");
4040
// query
4141
if (props.queryParams && !isEmpty(props.queryParams)) {
4242
targetURL += `?${props.queryParams}`;

0 commit comments

Comments
 (0)