Skip to content

Commit

Permalink
fix(frontend/magic-link): button is now round again when modal is opened
Browse files Browse the repository at this point in the history
fix: #152
  • Loading branch information
c0rydoras committed Aug 13, 2024
1 parent 6c21fec commit 1dc9d15
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/app/components/magic-link-btn/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
{{on "click" (toggle "isModalVisible" this)}}
>
<FaIcon @icon="bolt" @prefix="fas" />
{{#if this.isModalVisible}}
<MagicLinkModal @isVisible={{this.isModalVisible}} @onClose={{toggle "isModalVisible" this}} />
{{/if}}
</button>

{{#if this.isModalVisible}}
<MagicLinkModal @isVisible={{this.isModalVisible}} @onClose={{toggle "isModalVisible" this}} />
{{/if}}

0 comments on commit 1dc9d15

Please sign in to comment.