Skip to content
Snippets Groups Projects
Commit f8318543 authored by Tom Käsler's avatar Tom Käsler
Browse files

remove duplicated class ContentGroup

parent ec564d50
Branches
Tags
No related merge requests found
...@@ -6,6 +6,7 @@ import { ContentChoice } from '../../../models/content-choice'; ...@@ -6,6 +6,7 @@ import { ContentChoice } from '../../../models/content-choice';
import { ContentText } from '../../../models/content-text'; import { ContentText } from '../../../models/content-text';
import { AnswerOption } from '../../../models/answer-option'; import { AnswerOption } from '../../../models/answer-option';
import { ContentType } from '../../../models/content-type.enum'; import { ContentType } from '../../../models/content-type.enum';
import { ContentGroup } from '../../../models/content-group';
import { MatDialog } from '@angular/material'; import { MatDialog } from '@angular/material';
import { ContentChoiceCreatorComponent } from '../../creator/content-choice-creator/content-choice-creator.component'; import { ContentChoiceCreatorComponent } from '../../creator/content-choice-creator/content-choice-creator.component';
import { ContentLikertCreatorComponent } from '../../creator/content-likert-creator/content-likert-creator.component'; import { ContentLikertCreatorComponent } from '../../creator/content-likert-creator/content-likert-creator.component';
...@@ -16,18 +17,6 @@ import { RoomService } from '../../../services/http/room.service'; ...@@ -16,18 +17,6 @@ import { RoomService } from '../../../services/http/room.service';
import { TranslateService } from '@ngx-translate/core'; import { TranslateService } from '@ngx-translate/core';
import { LanguageService } from '../../../services/util/language.service'; 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({ @Component({
selector: 'app-content-list', selector: 'app-content-list',
templateUrl: './content-list.component.html', templateUrl: './content-list.component.html',
......
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