Skip to content

Commit

Permalink
Merge pull request #1523 from bartbutenaers/switch_custom_icon_fix
Browse files Browse the repository at this point in the history
Switch - click custom switch icon fix
  • Loading branch information
joepavitt authored Dec 10, 2024
2 parents 5f63a6e + b5cd5f3 commit e12dcbf
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 e12dcbf

Please sign in to comment.