Skip to content
Snippets Groups Projects
Verified Commit 3995bef0 authored by Lukas Maximilian Kimpel's avatar Lukas Maximilian Kimpel
Browse files

Remove result since logic is in app-component

parent ec56ae74
No related merge requests found
......@@ -16,25 +16,15 @@ export class LoginScreenComponent implements OnInit {
}
openRegisterDialog(): void {
const registerDialogRef = this.dialog.open(RegisterComponent, {
this.dialog.open(RegisterComponent, {
width: '350px'
});
registerDialogRef.afterClosed().subscribe(result => {
console.log('RegisterDialog was closed');
this.result = result;
});
}
openPasswordDialog(): void {
const passwordResetDialogRef = this.dialog.open(PasswordResetComponent, {
this.dialog.open(PasswordResetComponent, {
width: '350px'
});
passwordResetDialogRef.afterClosed().subscribe(result => {
console.log('PasswordResetDialog was closed');
this.result = result;
});
}
ngOnInit() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment