Skip to content

Commit

Permalink
Merge pull request #72 from rmotitsuki/fix-vue3-prod-build
Browse files Browse the repository at this point in the history
fix UI button - remove 'this' from @click
  • Loading branch information
viniarck authored Jul 31, 2024
2 parents 2d0a569 + f630144 commit 6c01356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/kytos/inputs/buttons/Button.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<template>
<button :id="id" class="k-button compact"
@click="this.handleClick"
@click="handleClick"
v-bind:title="tooltip"
v-bind:disabled="isDisabled">
<icon v-if="icon && iconName" :icon="iconName"></icon>

{{title}}
</button>
</template>
Expand All @@ -24,6 +23,7 @@ import KytosBaseWithIcon from '../../base/KytosBaseWithIcon';
export default {
name: 'k-button',
mixins: [KytosBaseWithIcon],
emits: ['click'],
methods: {
/**
* Call click event.
Expand Down

0 comments on commit 6c01356

Please sign in to comment.