From 544745b2393978c610d9d1489384f4d14a3b3ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Tue, 12 Feb 2019 22:30:09 +0100 Subject: [PATCH] Remove useless code --- src/app/components/home/new-landing/new-landing.component.ts | 2 +- src/app/components/shared/room-join/room-join.component.ts | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/components/home/new-landing/new-landing.component.ts b/src/app/components/home/new-landing/new-landing.component.ts index ed2468db5..872b99425 100644 --- a/src/app/components/home/new-landing/new-landing.component.ts +++ b/src/app/components/home/new-landing/new-landing.component.ts @@ -14,7 +14,7 @@ import { Router } from '@angular/router'; export class NewLandingComponent implements OnInit { user: User; - demoId = 88992370; + demoId = 88992370; // online 95680586, change before merging constructor(public authenticationService: AuthenticationService, private router: Router, diff --git a/src/app/components/shared/room-join/room-join.component.ts b/src/app/components/shared/room-join/room-join.component.ts index 62c27ad94..b639d76c7 100644 --- a/src/app/components/shared/room-join/room-join.component.ts +++ b/src/app/components/shared/room-join/room-join.component.ts @@ -6,8 +6,7 @@ import { RegisterErrorStateMatcher } from '../../home/_dialogs/register/register import { FormControl, FormGroupDirective, NgForm, Validators } from '@angular/forms'; import { ErrorStateMatcher } from '@angular/material'; import { NotificationService } from '../../../services/util/notification.service'; -import {LanguageService} from "../../../services/util/language.service"; -import {TranslateService} from "@ngx-translate/core"; +import { TranslateService } from '@ngx-translate/core'; export class JoinErrorStateMatcher implements ErrorStateMatcher { isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean { @@ -24,7 +23,7 @@ export class JoinErrorStateMatcher implements ErrorStateMatcher { export class RoomJoinComponent implements OnInit { room: Room; - demoId = '26973546'; // online 95680586, change before merging + demoId = '26973546'; roomFormControl = new FormControl('', [Validators.required, Validators.minLength(8)]); -- GitLab