mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
fix: show edit button on new orgs (#1606)
This commit is contained in:
parent
057537cc82
commit
7f8df6719f
@ -12,12 +12,12 @@
|
|||||||
|
|
||||||
<ng-container *ngIf="serviceType === FeatureServiceType.MGMT">
|
<ng-container *ngIf="serviceType === FeatureServiceType.MGMT">
|
||||||
<mat-spinner class="spinner" diameter="20" *ngIf="customerLoading || stripeLoading"></mat-spinner>
|
<mat-spinner class="spinner" diameter="20" *ngIf="customerLoading || stripeLoading"></mat-spinner>
|
||||||
<div class="detail" *ngIf="stripeCustomer">
|
<div class="detail" *ngIf="stripeCustomer || stripeCustomer == null">
|
||||||
<p class="title">{{'FEATURES.TIER.DETAILS' | translate}}
|
<p class="title">{{'FEATURES.TIER.DETAILS' | translate}}
|
||||||
<a (click)="setCustomer()">{{'ACTIONS.EDIT' | translate}}</a>
|
<a (click)="setCustomer()">{{'ACTIONS.EDIT' | translate}}</a>
|
||||||
</p>
|
</p>
|
||||||
<p>{{stripeCustomer?.contact}}</p>
|
<p>{{stripeCustomer?.contact}}</p>
|
||||||
<p *ngIf="stripeCustomer.company">{{stripeCustomer?.company}}</p>
|
<p *ngIf="stripeCustomer?.company">{{stripeCustomer?.company}}</p>
|
||||||
<p>{{stripeCustomer?.address}}</p>
|
<p>{{stripeCustomer?.address}}</p>
|
||||||
<p *ngIf="stripeCustomer?.postal_code || stripeCustomer?.city || stripeCustomer?.country">
|
<p *ngIf="stripeCustomer?.postal_code || stripeCustomer?.city || stripeCustomer?.country">
|
||||||
{{stripeCustomer?.postal_code}} {{stripeCustomer?.city}} {{stripeCustomer?.country}}
|
{{stripeCustomer?.postal_code}} {{stripeCustomer?.city}} {{stripeCustomer?.country}}
|
||||||
@ -27,7 +27,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="error" *ngIf="stripeCustomer && !customerValid">{{'FEATURES.TIER.CUSTOMERINVALID' | translate}}</p>
|
<p class="error" *ngIf="(stripeCustomer || stripeCustomer == null) && !customerValid">{{'FEATURES.TIER.CUSTOMERINVALID' | translate}}</p>
|
||||||
|
|
||||||
<div class="current-tier">
|
<div class="current-tier">
|
||||||
<a [disabled]="!org.id || !customerValid" mat-raised-button [href]="stripeURL" target="_blank"
|
<a [disabled]="!org.id || !customerValid" mat-raised-button [href]="stripeURL" target="_blank"
|
||||||
|
Loading…
Reference in New Issue
Block a user