mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
[PS-998] Add button type to premium badge (#2973)
* prevent default on premium badge * change type to button to stop submit
This commit is contained in:
parent
37e46dab48
commit
81c61c8cec
@ -5,7 +5,7 @@ import { MessagingService } from "@bitwarden/common/abstractions/messaging.servi
|
|||||||
@Component({
|
@Component({
|
||||||
selector: "app-premium-badge",
|
selector: "app-premium-badge",
|
||||||
template: `
|
template: `
|
||||||
<button *appNotPremium bitBadge badgeType="success" (click)="premiumRequired()">
|
<button type="button" *appNotPremium bitBadge badgeType="success" (click)="premiumRequired()">
|
||||||
{{ "premium" | i18n }}
|
{{ "premium" | i18n }}
|
||||||
</button>
|
</button>
|
||||||
`,
|
`,
|
||||||
|
Loading…
Reference in New Issue
Block a user