mirror of
https://github.com/umap-project/umap.git
synced 2025-04-29 03:42:37 +02:00
fix: do not fail when editing map infos if no licence is set (#2287)
This commit is contained in:
commit
4350f55e67
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ L.FormBuilder.LicenceChooser = L.FormBuilder.Select.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
toHTML: function () {
|
toHTML: function () {
|
||||||
return this.get().name
|
return this.get()?.name
|
||||||
},
|
},
|
||||||
|
|
||||||
toJS: function () {
|
toJS: function () {
|
||||||
|
|
Loading…
Reference in a new issue