Fix modals for role verification
This commit is contained in:
parent
fa5da35853
commit
e80318946d
|
@ -37,7 +37,7 @@ import {Composer} from "../utils/email/composer";
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</modal-alert>
|
</modal-alert>
|
||||||
<modal-alert *ngIf="service !== 'connect'" #memberModal>
|
<modal-alert *ngIf="service == 'monitor'" #memberModal>
|
||||||
<div *ngIf="!isMember">
|
<div *ngIf="!isMember">
|
||||||
<div>
|
<div>
|
||||||
You have been invited to join <span class="uk-text-bold">{{name}}</span> Monitor Dashboard as a member.
|
You have been invited to join <span class="uk-text-bold">{{name}}</span> Monitor Dashboard as a member.
|
||||||
|
@ -47,7 +47,7 @@ import {Composer} from "../utils/email/composer";
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="!loading" class="uk-margin-medium-top uk-flex uk-flex-wrap uk-flex-center">
|
<div *ngIf="!loading" class="uk-margin-medium-top uk-flex uk-flex-wrap uk-flex-center">
|
||||||
<div dashboard-input [formInput]="code" class="uk-width-medium" placeholder="Write verification code">
|
<div dashboard-input [formInput]="code" class="uk-width-medium" placeholder="Write verification code">
|
||||||
<span *ngIf="error" error>{{error}}</span>>
|
<span *ngIf="error" error>{{error}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="loading" class="uk-margin-medium-top">
|
<div *ngIf="loading" class="uk-margin-medium-top">
|
||||||
|
@ -95,9 +95,9 @@ export class RoleVerificationComponent implements OnInit, OnDestroy {
|
||||||
public verification: any;
|
public verification: any;
|
||||||
public code: FormControl;
|
public code: FormControl;
|
||||||
private subs: any[] = [];
|
private subs: any[] = [];
|
||||||
@ViewChild('managerModal', { static: true }) managerModal: AlertModal;
|
@ViewChild('managerModal', { static: false }) managerModal: AlertModal;
|
||||||
@ViewChild('memberModal', { static: true }) memberModal: AlertModal;
|
@ViewChild('memberModal', { static: false }) memberModal: AlertModal;
|
||||||
@ViewChild('errorModal', { static: true }) errorModal: AlertModal;
|
@ViewChild('errorModal', { static: false }) errorModal: AlertModal;
|
||||||
public error: string = null;
|
public error: string = null;
|
||||||
public loading: boolean = false;
|
public loading: boolean = false;
|
||||||
public isMember: boolean = false;
|
public isMember: boolean = false;
|
||||||
|
|
Loading…
Reference in New Issue