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
...@@ -62,11 +62,6 @@ ...@@ -62,11 +62,6 @@
i, i,
len = result_list.data.total_rows; len = result_list.data.total_rows;
for (i = 0; i < len; i += 1) { 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].value.id =
result_list.data.rows[i].id; result_list.data.rows[i].id;
data_rows.push(result_list.data.rows[i].value); data_rows.push(result_list.data.rows[i].value);
...@@ -113,7 +108,7 @@ ...@@ -113,7 +108,7 @@
function pushNewCard() { function pushNewCard() {
if (module_list) { if (module_list) {
if (current_business_application_title === '') { if (!current_business_application_title) {
other_module_list = module_list; other_module_list = module_list;
} else { } else {
card_list.push({ card_list.push({
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>994.13854.35574.25361</string> </value> <value> <string>999.47588.53063.49288</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1631892657.11</float> <float>1650641719.13</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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