From fe7d9399a9aab51a322002c638a9a4f1a2d4073b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Tue, 6 Nov 2018 12:52:48 +0100 Subject: [PATCH] Remove useless code --- .../comment-create-page.component.ts | 1 - .../content-text-participant.component.ts | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/app/components/participant/comment-create-page/comment-create-page.component.ts b/src/app/components/participant/comment-create-page/comment-create-page.component.ts index 4961d6c15..9de4cb5ff 100644 --- a/src/app/components/participant/comment-create-page/comment-create-page.component.ts +++ b/src/app/components/participant/comment-create-page/comment-create-page.component.ts @@ -1,7 +1,6 @@ import { Component, OnInit, Input, ViewChild } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Location } from '@angular/common'; -import { Room } from '../../../models/room'; import { Comment } from '../../../models/comment'; import { RoomService } from '../../../services/http/room.service'; import { CommentService } from '../../../services/http/comment.service'; diff --git a/src/app/components/participant/content-text-participant/content-text-participant.component.ts b/src/app/components/participant/content-text-participant/content-text-participant.component.ts index a81d230fa..234978ba7 100644 --- a/src/app/components/participant/content-text-participant/content-text-participant.component.ts +++ b/src/app/components/participant/content-text-participant/content-text-participant.component.ts @@ -12,16 +12,6 @@ import { NotificationService } from '../../../services/util/notification.service export class ContentTextParticipantComponent implements OnInit { @Input() content: ContentText; - dummyContent: ContentText = new ContentText( - '1', - '1', - '1', - 'Text Content 1', - 'This is the body of Text Content 1', - 1, - [] - ); - textAnswer = ''; isAnswerSent = false; -- GitLab