Skip to content

Commit

Permalink
Also use provider_url in choice preset value
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Jan 9, 2020
1 parent 49d57b6 commit b86d48a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Widget/ModalEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ class Edit extends Component {
};
});

// TODO: fingers cross that the Dropdown doesn't crash with a value not in
// choices

return (
<div>
{__CLIENT__ ? (
Expand All @@ -77,6 +80,7 @@ class Edit extends Component {
provider_url: value,
})
}
value={this.props.value?.url}
/>
<LoadablePlotlyEditor
data={this.props.value?.data || []}
Expand Down

0 comments on commit b86d48a

Please sign in to comment.