Prevent unnecessary update after alerts load
This commit is contained in:
parent
da0f1aa362
commit
83e5995b1c
|
@ -32,7 +32,9 @@ export class ModalAlertComponent implements OnInit, OnDestroy {
|
|||
console.log(response);
|
||||
this.users = response.crew;
|
||||
if (response.notes !== "" && response.notes !== null) {
|
||||
this.notes = response.notes;
|
||||
if(this.notes !== response.notes) {
|
||||
this.notes = response.notes;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue