Fix usage of v-for and v-if on same component
This commit is contained in:
parent
8263b17861
commit
06d6dbe3a3
@ -106,8 +106,8 @@
|
||||
@start="onDragStart"
|
||||
@end="onDragEnd"
|
||||
>
|
||||
<template v-for="(channel, index) in network.channels">
|
||||
<Channel
|
||||
v-for="(channel, index) in network.channels"
|
||||
v-if="index > 0"
|
||||
:key="channel.id"
|
||||
:channel="channel"
|
||||
@ -117,6 +117,7 @@
|
||||
channel === $store.state.activeChannel.channel
|
||||
"
|
||||
/>
|
||||
</template>
|
||||
</Draggable>
|
||||
</div>
|
||||
</Draggable>
|
||||
|
Loading…
Reference in New Issue
Block a user