[ADF-3920] Process Service Cloud render card with default theme and i… (#4219)

* [ADF-3920] Process Service Cloud render card with default theme and icon if missing

* [ADF-3920] Process Service Cloud card rendering with default theme and icon

* [ADF-3920] - Remove import from index in spec file

* Fix unit tests

* [ADF-3920] - add complete name on unit test

* [ADF-3920] - add unit test to verify input object for app-details-cloud
This commit is contained in:
Silviu Popa
2019-02-01 15:37:58 +02:00
committed by Eugenio Romano
parent c00e230983
commit d28c8dccc8
7 changed files with 49 additions and 12 deletions

View File

@@ -33,8 +33,8 @@ export class ApplicationInstanceModel {
this.name = obj.name ? obj.name : null;
this.status = obj.status ? obj.status : null;
this.createdAt = obj.createdAt ? obj.createdAt : null;
this.theme = obj.theme ? obj.theme : ApplicationInstanceModel.DEFAULT_THEME;
this.icon = obj.icon ? obj.icon : ApplicationInstanceModel.DEFAULT_ICON;
this.theme = obj.theme;
this.icon = obj.icon;
this.description = obj.description ? obj.description : null;
this.connectors = obj.connectors ? obj.connectors : null;
}