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
Yannick Schaus 2020-06-17 20:12:37 +02:00 committed by GitHub
parent a41d91f926
commit 57ac4ab0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>