We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
v-if
1 parent c27c895 commit a183c7dCopy full SHA for a183c7d
packages/vue-flow/src/additional-components/Controls/Controls.vue
@@ -79,11 +79,11 @@ export default {
79
<template v-if="showInteractive">
80
<slot name="control-interactive">
81
<ControlButton v-if="showInteractive" class="vue-flow__controls-interactive" @click="onInteractiveChangeHandler">
82
- <slot name="icon-unlock">
83
- <Unlock v-if="isInteractive" />
+ <slot v-if="isInteractive" name="icon-unlock">
+ <Unlock />
84
</slot>
85
- <slot name="icon-lock">
86
- <Lock v-if="!isInteractive" />
+ <slot v-if="!isInteractive" name="icon-lock">
+ <Lock />
87
88
</ControlButton>
89
0 commit comments