mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +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 () {
|
||||
return this.get().name
|
||||
return this.get()?.name
|
||||
},
|
||||
|
||||
toJS: function () {
|
||||
|
|
Loading…
Reference in a new issue