Skip to content

Commit

Permalink
[MainUI] things: copy channel only for UI-channels
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry P. (d51x) <dimonich110@gmail.com>
  • Loading branch information
d51x committed Nov 8, 2023
1 parent ff8c6d0 commit c82d544
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<f7-icon slot="media" color="green" aurora="f7:plus_circle_fill" ios="f7:plus_circle_fill" md="material:control_point" />
</f7-list-item>
<f7-list-button class="searchbar-ignore" color="blue" :title="(channelType.parameterGroups.length || channelType.parameters.length) ? 'Configure Channel' : 'Channel Details'" @click="configureChannel()" />
<f7-list-button class="searchbar-ignore" v-if="extensible" color="blue" :title="(channelType.parameterGroups.length || channelType.parameters.length) ? 'Copy Channel' : ''" @click="copyChannel()" />
<f7-list-button class="searchbar-ignore" v-if="extensible && thing.editable" color="blue" :title="(channelType.parameterGroups.length || channelType.parameters.length) ? 'Copy Channel' : ''" @click="copyChannel()" />
<f7-list-button class="searchbar-ignore" v-if="extensible" color="red" title="Remove Channel" @click="removeChannel()" />
</f7-list>
</template>
Expand Down

0 comments on commit c82d544

Please sign in to comment.