diff --git a/umap/static/umap/js/umap.forms.js b/umap/static/umap/js/umap.forms.js index c7ea1bedb..d31d4f32d 100644 --- a/umap/static/umap/js/umap.forms.js +++ b/umap/static/umap/js/umap.forms.js @@ -405,7 +405,7 @@ L.FormBuilder.LicenceChooser = L.FormBuilder.Select.extend({ }, toHTML: function () { - return this.get().name + return this.get()?.name }, toJS: function () {