fix
This commit is contained in:
parent
204d2a27f2
commit
554a809ba4
@ -1,11 +1,24 @@
|
||||
<section class="mat-typography">
|
||||
<mat-card class="defaultCard" *ngIf="messageService.messages.length">
|
||||
<mat-card class="defaultCard">
|
||||
<mat-card-header>
|
||||
<mat-card-title>Messages</mat-card-title>
|
||||
</mat-card-header>
|
||||
<mat-card-content>
|
||||
<mat-accordion>
|
||||
<mat-expansion-panel (opened)="collapse = true"
|
||||
(closed)="collapse = false">
|
||||
<mat-expansion-panel-header>
|
||||
<mat-panel-title *ngIf="!collapse">
|
||||
Übersicht
|
||||
</mat-panel-title>
|
||||
<mat-panel-description>
|
||||
</mat-panel-description>
|
||||
</mat-expansion-panel-header>
|
||||
<button (click)="messageService.clear()">clear</button>
|
||||
<div *ngFor='let message of messageService.messages'> {{message}} </div>
|
||||
</mat-expansion-panel>
|
||||
</mat-accordion>
|
||||
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
</section>
|
@ -8,6 +8,8 @@ import { MessageService } from '../message.service';
|
||||
})
|
||||
export class MessagesComponent implements OnInit {
|
||||
|
||||
collapse: boolean = false
|
||||
|
||||
constructor(public messageService: MessageService) { }
|
||||
|
||||
ngOnInit(): void {
|
||||
|
@ -67,7 +67,9 @@
|
||||
<mat-label>IBAN</mat-label>
|
||||
<input matInput name="iban" [(ngModel)]="tenant.iban"/>
|
||||
</mat-form-field>
|
||||
</div><div>
|
||||
</div>
|
||||
<!--
|
||||
<div>
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label>Account ID</mat-label>
|
||||
<input matInput name="account_id" [readonly]="true" [ngModel]="account.id"/>
|
||||
@ -77,6 +79,7 @@
|
||||
<input matInput name="account_desc" [readonly]="true" [ngModel]="account.description"/>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
-->
|
||||
<button #submitButton type="submit" mat-raised-button color="primary">Speichern</button>
|
||||
</form>
|
||||
</div>
|
||||
@ -85,6 +88,8 @@
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<app-note [selectedTenantId]="tenantId"></app-note>
|
||||
|
||||
<mat-card class="defaultCard">
|
||||
<mat-card-header>
|
||||
<mat-card-title>
|
||||
@ -203,8 +208,6 @@
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
<app-note [selectedTenantId]="tenantId"></app-note>
|
||||
|
||||
<app-account [selectedAccountId]="tenant.account"></app-account>
|
||||
|
||||
</section>
|
||||
|
Loading…
x
Reference in New Issue
Block a user