Skip to content

Commit

Permalink
fix: remove condition from modal icon close
Browse files Browse the repository at this point in the history
  • Loading branch information
alfsouza708 committed Feb 1, 2022
1 parent 7c670c9 commit 4dea53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<IconClose
v-if="!disableClose"
class="icon-close"
@click="[closeSelf(), close()][selfClose]"
@click="closeSelf"
/>
</header>

Expand Down

0 comments on commit 4dea53f

Please sign in to comment.