Commit 8dcb93a4 authored by Janis Streib's avatar Janis Streib

FIX: correct json names in es-generator

parent 5d5848c7
......@@ -60,13 +60,13 @@ def es_webpack(output_dir):
old_def_def = v.old.data_default is not None
if old_def_def:
old_default = v.old.data_default
if v.data_type == 'boolean':
if v.data_type['json_name'] == 'boolean':
old_default = str(old_default).lower()
if v.new is not None:
new_def_def = v.new.data_default is not None
if new_def_def:
new_default = v.new.data_default
if v.data_type == 'boolean':
if v.data_type['json_name'] == 'boolean':
new_default = str(new_default).lower()
if v.data_type['json_name'] == 'string':
if old_default is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment