forked from platypush/platypush
Show default node number instead of empty string if name is not set
This commit is contained in:
parent
424077fdbc
commit
f8f3d2e310
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<script type="text/x-template" id="tmpl-zwave-node">
|
<script type="text/x-template" id="tmpl-zwave-node">
|
||||||
<div class="item node" :class="{selected: selected}">
|
<div class="item node" :class="{selected: selected}">
|
||||||
<div class="row name vertical-center" :class="{selected: selected}"
|
<div class="row name vertical-center" :class="{selected: selected}"
|
||||||
v-text="node.name" @click="onNodeClicked"></div>
|
v-text="node.name && node.name.length ? node.name : '<Node ' + node.node_id + '>'" @click="onNodeClicked"></div>
|
||||||
|
|
||||||
<div class="params" v-if="selected">
|
<div class="params" v-if="selected">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
Loading…
Reference in a new issue