1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-21 11:35:34 +01:00

Don't let users who can't edit sub reactivate sub pending cancelation (#8433)

This commit is contained in:
Alex Morask 2024-04-02 09:28:36 -04:00 committed by GitHub
parent b338e14623
commit 22cca018f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,7 +25,13 @@
*ngIf="subscriptionMarkedForCancel"
>
<p>{{ "subscriptionPendingCanceled" | i18n }}</p>
<button bitButton buttonType="secondary" [bitAction]="reinstate" type="button">
<button
*ngIf="userOrg.canEditSubscription"
bitButton
buttonType="secondary"
[bitAction]="reinstate"
type="button"
>
{{ "reinstateSubscription" | i18n }}
</button>
</bit-callout>