Browse Source

Add copy-to-clipboard button to coupon code

pull/6702/head
Thomas Kaul 2 months ago
parent
commit
078375a2f8
  1. 8
      apps/client/src/app/components/admin-overview/admin-overview.html

8
apps/client/src/app/components/admin-overview/admin-overview.html

@ -107,7 +107,13 @@
<table>
@for (coupon of coupons; track coupon) {
<tr>
<td class="text-monospace">{{ coupon.code }}</td>
<td>
<gf-value
class="text-monospace"
[enableCopyToClipboardButton]="true"
[value]="coupon.code"
/>
</td>
<td class="pl-2 text-right">
{{ formatStringValue(coupon.duration) }}
</td>

Loading…
Cancel
Save