1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +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:
Jake Fink 2022-06-27 08:49:10 -04:00 committed by GitHub
parent 37e46dab48
commit 81c61c8cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import { MessagingService } from "@bitwarden/common/abstractions/messaging.servi
@Component({
selector: "app-premium-badge",
template: `
<button *appNotPremium bitBadge badgeType="success" (click)="premiumRequired()">
<button type="button" *appNotPremium bitBadge badgeType="success" (click)="premiumRequired()">
{{ "premium" | i18n }}
</button>
`,