Skip to content
Snippets Groups Projects
Commit f26cba1b authored by Sebastian Böckelmann's avatar Sebastian Böckelmann
Browse files

Use $t_netdb for translations of Ot Attr Def Key Words

parent b266c861
No related branches found
No related tags found
No related merge requests found
......@@ -39,8 +39,7 @@
<p>
<code>{{ data.item.ot_attr_def_key_word }}</code>
<br>
<span v-if="$i18n.locale === 'de'">{{ device_attr_def_list[data.item.ot_attr_def_key_word].de.value }}</span>
<span v-else>{{ device_attr_def_list[data.item.ot_attr_def_key_word].en.value }}</span>
<span>{{ $t_netdb(device_attr_def_list[data.item.ot_attr_def_key_word])}}</span>
</p>
</template>
</PaginatorTable>
......@@ -187,7 +186,6 @@ export default {
for (const attribute of result.data.device_attr_def_list) {
this.device_attr_def_list[attribute.key_word] = attribute.description
}
console.log(this.device_attr_def_list)
this.device_attr_list = result.data.device_attr_list
this.egress_vlan_by_l_port = apiutil.dict_of_lists_by_value_of_array(result.data.vlan_egress_list, 'l_port_gfk')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment