Skip to content

Commit

Permalink
Fallback value when no uri provided, properly fixes #806
Browse files Browse the repository at this point in the history
  • Loading branch information
jaedb committed Feb 15, 2022
1 parent 6dd36f1 commit 54e7756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Fields/OutputControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Header = ({ stream, server }) => {
query: {
control_url,
} = {},
},
} = {},
} = stream || {};
const controlURL = control_url ? new URL(control_url) : null;
const controlServer = controlURL ? {
Expand Down

0 comments on commit 54e7756

Please sign in to comment.