Skip to content

Commit 957934c

Browse files
authored
fix: create discount & access code page (#4051)
* changing to success event listener * fixing broken access code section too
1 parent 484981b commit 957934c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/templates/components/forms/events/view/create-access-code.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
{{#copy-button
7777
class='ui black right labeled icon copy button'
7878
clipboardText=accessLink
79-
click=(action 'copiedText')
79+
success=(action 'copiedText')
8080
}}
8181
<i class="copy icon"></i>
8282
{{t 'Copy'}}

app/templates/components/forms/events/view/create-discount-code.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
{{#copy-button
8989
class='ui black right labeled icon copy button'
9090
clipboardText=discountLink
91-
click=(action 'copiedText')
91+
success=(action 'copiedText')
9292
}}
9393
<i class="copy icon"></i>
9494
{{t 'Copy'}}

0 commit comments

Comments
 (0)