From 11488a5cd40559defcf3919d2f9aa0cf432bc90d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de>
Date: Wed, 28 Nov 2018 12:47:13 +0100
Subject: [PATCH] Replace class which is already defined in models

---
 .../participant-content-carousel-page.component.ts  | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/app/components/participant/participant-content-carousel-page/participant-content-carousel-page.component.ts b/src/app/components/participant/participant-content-carousel-page/participant-content-carousel-page.component.ts
index 2d24632f7..5959d3ceb 100644
--- a/src/app/components/participant/participant-content-carousel-page/participant-content-carousel-page.component.ts
+++ b/src/app/components/participant/participant-content-carousel-page/participant-content-carousel-page.component.ts
@@ -2,18 +2,7 @@ import { Component, OnInit } from '@angular/core';
 import { ContentType } from '../../../models/content-type.enum';
 import { ContentService } from '../../../services/http/content.service';
 import { Content } from '../../../models/content';
-
-class ContentGroup {
-  name: string;
-  contentIds: string[];
-  autoSort: boolean;
-
-  constructor(name: string, contentIds: string[], autoSort: boolean) {
-    this.name = name;
-    this.contentIds = contentIds;
-    this.autoSort = autoSort;
-  }
-}
+import { ContentGroup } from '../../../models/content-group';
 
 @Component({
   selector: 'app-participant-content-carousel-page',
-- 
GitLab