[Library | Trunk]: Add iconUrl to topic

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58880 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
k.triantafyllou 2020-06-11 10:11:05 +00:00
parent c20391f3fc
commit 159e443648
1 changed files with 3 additions and 1 deletions

View File

@ -64,8 +64,9 @@ export class Topic {
isPublic: boolean;
defaultId: string;
categories: Category[];
iconUrl: string;
constructor(name: string, description: string, alias: string, isActive: boolean, isPublic: boolean, defaultId: string = null) {
constructor(name: string, description: string, alias: string, isActive: boolean, isPublic: boolean, defaultId: string = null, iconUrl: string = null) {
this._id = null;
this.name = name;
this.description = description;
@ -74,6 +75,7 @@ export class Topic {
this.isPublic = isPublic;
this.defaultId = defaultId;
this.categories = [];
this.iconUrl = iconUrl;
}
}