Commit 4e1ccd02 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: no need to workaround null values

jio 3.45.0 fixed the issue
parent f9f7aef6
Pipeline #21073 failed with stage
in 0 seconds
......@@ -62,11 +62,6 @@
i,
len = result_list.data.total_rows;
for (i = 0; i < len; i += 1) {
// queries do not accept null value
result_list.data.rows[i].value
.business_application_translated_title =
result_list.data.rows[i].value
.business_application_translated_title || '';
result_list.data.rows[i].value.id =
result_list.data.rows[i].id;
data_rows.push(result_list.data.rows[i].value);
......@@ -113,7 +108,7 @@
function pushNewCard() {
if (module_list) {
if (current_business_application_title === '') {
if (!current_business_application_title) {
other_module_list = module_list;
} else {
card_list.push({
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>994.13854.35574.25361</string> </value>
<value> <string>999.47588.53063.49288</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1631892657.11</float>
<float>1650641719.13</float>
<string>UTC</string>
</tuple>
</state>
......
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