fix: do not fail when editing map infos if no licence is set

This commit is contained in:
Yohan Boniface 2024-11-20 16:44:15 +01:00
parent 5cef79d395
commit f7c1b8f123

View file

@ -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 () {