Fix points names in Add Points to Model scenario (#278)
Fix a bug introduced with #275 when points being added to the model without an equipment would not have their default name properly computed. Signed-off-by: Yannick Schaus <github@schaus.net>pull/279/head
parent
a41d91f926
commit
57ac4ab0dd
|
@ -64,7 +64,7 @@
|
|||
(you will be able to configure the links individually later if needed).
|
||||
</f7-block-footer>
|
||||
<channel-list :thing="selectedThing" :thingType="selectedThingType" :channelTypes="selectedThingChannelTypes"
|
||||
:multiple-links-mode="true" :new-items-prefix="(createEquipment) ? newEquipmentItem.name : (parentGroup) ? parentGroup : ''"
|
||||
:multiple-links-mode="true" :new-items-prefix="(createEquipment) ? newEquipmentItem.name : (parentGroup) ? parentGroup.name : ''"
|
||||
@selected="(channel) => toggleSelect(channel)" :new-items="newPointItems" />
|
||||
</div>
|
||||
</f7-col>
|
||||
|
|
Loading…
Reference in New Issue