Commit 2c337082 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] No need to asynchronously calculate false value

parent 7dd8b27a
...@@ -502,8 +502,6 @@ ...@@ -502,8 +502,6 @@
url_promise_list.push( url_promise_list.push(
gadget.getUrlFor(content_value.url_value) gadget.getUrlFor(content_value.url_value)
); );
} else {
url_promise_list.push(false);
} }
} }
} }
...@@ -540,8 +538,12 @@ ...@@ -540,8 +538,12 @@
//url column //url column
// get url value // get url value
if (value.url_value) { if (value.url_value) {
if (value.url_value.command) {
url_value = url_column_list[index]; url_value = url_column_list[index];
index += 1; index += 1;
} else {
url_value = false;
}
} else { } else {
url_value = line_link_list[i]; url_value = line_link_list[i];
} }
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>967.34773.44940.64000</string> </value> <value> <string>967.34796.62500.30566</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1526290094.25</float> <float>1526291513.71</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