notes
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Component, Input, OnInit, ViewChild } from '@angular/core';
|
||||
import { Component, Input, OnInit, OnChanges, ViewChild } from '@angular/core';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { AccountEntryService, AccountService } from '../data-object-service';
|
||||
@ -82,4 +82,9 @@ export class AccountComponent implements OnInit {
|
||||
this.getAccount()
|
||||
}
|
||||
|
||||
ngOnChanges(): void {
|
||||
this.messageService.add(`AccountComponent.ngOnChanges, account: ${this.selectedAccountId}`)
|
||||
this.getAccount()
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user