Skip to content

Commit

Permalink
fixed for empty values in dante-dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
StiftungAusNachlass committed May 4, 2023
1 parent 6b199f0 commit 56e4986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webfrontend/mask-splitter-default-values.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ez5.ShowPoolDefaultValuesInMask extends CustomMaskSplitter
hasValue = false
if opts.data[field.ColumnSchema.name]
hasValue = true
if opts.data[field.ColumnSchema.name]?.conceptURI == '' || opts.data[field.ColumnSchema.name]?.conceptURI == null
if ! opts.data[field.ColumnSchema.name]?.conceptURI || opts.data[field.ColumnSchema.name]?.conceptURI == '' || opts.data[field.ColumnSchema.name]?.conceptURI == null
opts.data[field.ColumnSchema.name] = {}
hasValue = false

Expand Down

0 comments on commit 56e4986

Please sign in to comment.