From f83185437f578a67d2ad3fc91497488aff6e9d15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20K=C3=A4sler?= <tom.kaesler@mni.thm.de> Date: Thu, 15 Nov 2018 21:07:19 +0100 Subject: [PATCH] remove duplicated class ContentGroup --- .../shared/content-list/content-list.component.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/app/components/shared/content-list/content-list.component.ts b/src/app/components/shared/content-list/content-list.component.ts index fe84073e7..48f292171 100644 --- a/src/app/components/shared/content-list/content-list.component.ts +++ b/src/app/components/shared/content-list/content-list.component.ts @@ -6,6 +6,7 @@ import { ContentChoice } from '../../../models/content-choice'; import { ContentText } from '../../../models/content-text'; import { AnswerOption } from '../../../models/answer-option'; import { ContentType } from '../../../models/content-type.enum'; +import { ContentGroup } from '../../../models/content-group'; import { MatDialog } from '@angular/material'; import { ContentChoiceCreatorComponent } from '../../creator/content-choice-creator/content-choice-creator.component'; import { ContentLikertCreatorComponent } from '../../creator/content-likert-creator/content-likert-creator.component'; @@ -16,18 +17,6 @@ import { RoomService } from '../../../services/http/room.service'; import { TranslateService } from '@ngx-translate/core'; import { LanguageService } from '../../../services/util/language.service'; -class ContentGroup { - name: string; - contentIds: string[]; - autoSort: boolean; - - constructor(name: string, contentIds: string[], autoSort: boolean) { - this.name = name; - this.contentIds = contentIds; - this.autoSort = autoSort; - } -} - @Component({ selector: 'app-content-list', templateUrl: './content-list.component.html', -- GitLab