Skip to content

Commit

Permalink
click custom switch icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbutenaers committed Dec 7, 2024
1 parent 5f63a6e commit b5cd5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/widgets/ui-switch/UISwitch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
readonly
@click.stop="switchClickable ? toggle() : null"
/>
<v-btn v-else-if="!loading" variant="text" :disabled="!state.enabled" :icon="icon" :color="color" @click="toggle" />
<v-btn v-else-if="!loading" variant="text" :disabled="!state.enabled" :icon="icon" :color="color" @click.stop="toggle" />
<v-progress-circular v-else indeterminate color="primary" />
</div>
</template>
Expand Down

0 comments on commit b5cd5f3

Please sign in to comment.