Skip to content

Commit

Permalink
Merge pull request #7020 from TerriaJS/crash-adding-blank-url
Browse files Browse the repository at this point in the history
Disable submitting empty user url
  • Loading branch information
ljowen authored Jan 9, 2024
2 parents 4f24b25 + 5cf2ad5 commit 31ebbab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ReactViews/ExplorerWindow/Tabs/MyDataTab/AddData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ const AddData = createReactClass({
placeholder="e.g. http://data.gov.au/geoserver/wms"
/>
<button
disabled={this.state.remoteUrl.length === 0}
type="submit"
onClick={this.handleUrl}
className={Styles.urlInputBtn}
Expand Down

0 comments on commit 31ebbab

Please sign in to comment.