Skip to content

Commit

Permalink
fix UI button - remove 'this' from @click
Browse files Browse the repository at this point in the history
  • Loading branch information
rmotitsuki committed Jul 31, 2024
1 parent 2d0a569 commit f630144
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 f630144

Please sign in to comment.