Skip to content
Snippets Groups Projects
Verified Commit 16e1de91 authored by Lukas Mauß's avatar Lukas Mauß Committed by Lukas Maximilian Kimpel
Browse files

Remove useless code

parent 0a8f82fd
No related merge requests found
...@@ -22,7 +22,6 @@ export class JoinErrorStateMatcher implements ErrorStateMatcher { ...@@ -22,7 +22,6 @@ export class JoinErrorStateMatcher implements ErrorStateMatcher {
export class JoinRoomComponent implements OnInit { export class JoinRoomComponent implements OnInit {
room: Room; room: Room;
isExisting = true;
roomFormControl = new FormControl('', [Validators.required]); roomFormControl = new FormControl('', [Validators.required]);
......
...@@ -19,9 +19,7 @@ export class RoomComponent implements OnInit { ...@@ -19,9 +19,7 @@ export class RoomComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
this.route.params.subscribe(params => {
this.getRoom(params['roomId']);
});
} }
getRoom(id: string): void { getRoom(id: string): void {
......
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