1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

subscription null check

This commit is contained in:
Kyle Spearrin 2018-07-18 12:13:24 -04:00
parent 16e6a88ccf
commit 197d1c673c

View File

@ -73,7 +73,7 @@
</div>
</ng-container>
<ng-container *ngIf="!selfHosted">
<ng-container *ngIf="!subscription.cancelled || subscriptionMarkedForCancel">
<ng-container *ngIf="subscription && !subscription.cancelled || subscriptionMarkedForCancel">
<div class="d-flex">
<button type="button" class="btn btn-outline-secondary" (click)="downloadLicense()" *ngIf="!subscription.cancelled">
{{'downloadLicense' | i18n}}