mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-26 17:50:38 +01:00
Fixed field spec for image/video.
This commit is contained in:
parent
8e6c54564b
commit
0a8d0974ca
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ class ImageSourceEditor extends React.Component {
|
|||
}
|
||||
|
||||
return <div>
|
||||
<InputBlock label={"Image URL"} doc={latest.source_image.url.doc}>
|
||||
<InputBlock label={"Image URL"} fieldSpec={latest.source_image.url}>
|
||||
<UrlInput
|
||||
value={this.props.source.url}
|
||||
onChange={url => this.props.onChange({
|
||||
|
@ -155,7 +155,7 @@ class VideoSourceEditor extends React.Component {
|
|||
}
|
||||
|
||||
return <div>
|
||||
<InputBlock label={"Video URL"} doc={latest.source_video.urls.doc}>
|
||||
<InputBlock label={"Video URL"} fieldSpec={latest.source_video.urls}>
|
||||
<DynamicArrayInput
|
||||
type="string"
|
||||
value={this.props.source.urls}
|
||||
|
|
Loading…
Reference in a new issue