Skip to content
Snippets Groups Projects
Verified Commit 6d9a9fef authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: dbeditor: allow hybird operation

parent 085c789b
No related branches found
No related tags found
No related merge requests found
Pipeline #398172 passed with warnings
......@@ -87,7 +87,7 @@ export default {
if (e[0] in new_params && this.object_definition.attributes[e[0]].data_type.endsWith('_array')) {
new_params[e[0]].push(e[1])
} else {
if (this.object_definition.attributes[e[0]].data_type.endsWith('_array')) {
if (e[0] in this.object_definition.attributes && this.object_definition.attributes[e[0]].data_type.endsWith('_array')) {
new_params[e[0]] = [e[1]]
} else {
new_params[e[0]] = e[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment