diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 607d8e8..efc78de 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -36,6 +36,10 @@ export class AppComponent implements OnInit , OnDestroy { this.loanEdit.somedata = "" + Math.random() + "changed"; this.loanEdit.open('dialog'); } + + if (item.text == "Logout"){ + this.login = false; + } } }