Commit fe7c1818 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixup parameter editor slave

See merge request nexedi/slapos.core!488
parents 14803a0e 2e444d44
......@@ -853,7 +853,8 @@
for (option_index in json['software-type']) {
if (json['software-type'].hasOwnProperty(option_index)) {
if ((gadget.state.software_type_list.length === 0) ||
(gadget.state.software_type_list.includes(option_index))) {
(gadget.state.software_type_list.includes(option_index)) ||
(gadget.state.software_type_list.includes(json['software-type'][option_index]['software-type']))) {
if (json['software-type'][option_index].shared === undefined) {
json['software-type'][option_index].shared = false;
......
......@@ -280,7 +280,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>1004.35618.45138.1348</string> </value>
<value> <string>1005.42112.63718.7782</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -298,7 +298,7 @@
</tuple>
<state>
<tuple>
<float>1671043096.21</float>
<float>1676052985.24</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -23,7 +23,7 @@
<td>https://lab.nexedi.com/nexedi/slapos/raw/1.0.286/software/ors-amarisoft/software-tdd1900.cfg</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_rx_tx_scenario_readonly" />
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_gnb_sim_card_scenario_readonly" />
</tbody>
</table>
......
......@@ -23,7 +23,7 @@
<td>https://lab.nexedi.com/nexedi/slapos/raw/1.0.286/software/ors-amarisoft/software-tdd2600.cfg</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_rx_tx_scenario_readonly" />
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_gnb_sim_card_scenario_readonly" />
</tbody>
</table>
......
......@@ -23,7 +23,7 @@
<td>https://lab.nexedi.com/nexedi/slapos/raw/1.0.286/software/ors-amarisoft/software-tdd3500.cfg</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_rx_tx_scenario_readonly" />
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_gnb_sim_card_scenario_readonly" />
</tbody>
</table>
......
......@@ -23,7 +23,7 @@
<td>https://lab.nexedi.com/nexedi/slapos/raw/1.0.286/software/ors-amarisoft/software-tdd3700.cfg</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_rx_tx_scenario_readonly" />
<tal:block metal:use-macro="here/Zuite_SlapOSORSParameterCommonTemplate/macros/basic_gnb_sim_card_scenario_readonly" />
</tbody>
</table>
......
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