[ADF-2904] Search - redirect breaks application (#3268)

* set navigation commands over plain string

* fix test

* lint
This commit is contained in:
Cilibiu Bogdan
2018-05-08 16:46:35 +03:00
committed by Eugenio Romano
parent c90ad3f875
commit d456b3cba1
12 changed files with 205 additions and 105 deletions

View File

@@ -21,12 +21,12 @@
export class RedirectionModel {
provider: string;
url?: string;
navigation?: any[];
constructor(obj?: any) {
if (obj) {
this.provider = obj.provider;
this.url = obj.url || null;
this.navigation = obj.navigation || null;
}
}