diff --git a/src/app/core/shared/community.model.ts b/src/app/core/shared/community.model.ts index 67b9753c0f..9639abd258 100644 --- a/src/app/core/shared/community.model.ts +++ b/src/app/core/shared/community.model.ts @@ -50,7 +50,7 @@ export class Community extends DSpaceObject { /** * An array of Communities that are direct parents of this Community */ - parents: Array; + parents: Array>; /** * The Community that owns this Community diff --git a/src/app/home/home.module.ts b/src/app/home/home.module.ts index cd4221a97b..cbb785c1c4 100644 --- a/src/app/home/home.module.ts +++ b/src/app/home/home.module.ts @@ -6,7 +6,7 @@ import { CommonModule } from "@angular/common"; import { TopLevelCommunityListComponent } from "./top-level-community-list/top-level-community-list.component"; import { HomeNewsComponent } from "./home-news/home-news.component"; import { RouterModule } from "@angular/router"; -import { TranslateModule } from "ng2-translate"; +import { TranslateModule } from "@ngx-translate/core"; @NgModule({ imports: [