Przeglądaj źródła

login logout worked

tags/2.037
Patrick Sun 5 lat temu
rodzic
commit
4487457e9c
1 zmienionych plików z 4 dodań i 0 usunięć
  1. +4
    -0
      src/app/app.component.ts

+ 4
- 0
src/app/app.component.ts Wyświetl plik

@@ -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;
}
}
}


Ładowanie…
Anuluj
Zapisz