diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-06-03 13:12:12 +0300 |
---|---|---|
committer | Avi Stone <as206k@att.com> | 2018-06-03 11:56:49 +0000 |
commit | 548c5a220333c7cd666b861e737bff0b45461f18 (patch) | |
tree | 13c60b67291bd8bada498ad73c02a9e35afb5c9e /public/src/app/store | |
parent | 193095b01daf094c78f7fafacdf1c1cc31f290fe (diff) |
Update FE project
Update FE to latest version so that fe can run on docker
Change-Id: I9c5dee756b567dbe64fac6d3d6fd89362813bdcc
Issue-ID: SDC-1359
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'public/src/app/store')
-rw-r--r-- | public/src/app/store/store.ts | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/public/src/app/store/store.ts b/public/src/app/store/store.ts index a9f2431..b075699 100644 --- a/public/src/app/store/store.ts +++ b/public/src/app/store/store.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; -import { observable, computed, action, toJS, reaction } from 'mobx'; import { findIndex } from 'lodash'; +import { action, computed, observable, toJS } from 'mobx'; @Injectable() export class Store { @@ -16,6 +16,10 @@ export class Store { @observable expandAdvancedSetting = []; @observable generalflow; @observable vfiName; + @observable flowType; + @observable ifrmaeMessenger; + @observable waitForSave = false; + @observable displaySDCDialog = false; // error dialog @observable displayErrorDialog = false; @observable ErrorContent = []; @@ -23,9 +27,11 @@ export class Store { // rule-engine @observable tabParmasForRule; @observable ruleList = new Array(); + @observable ruleListExistParams; @observable ruleEditorInitializedState; @observable isLeftVisible; @observable inprogress; + @observable notifyIdValue = ''; @action updateRuleInList(rule) { @@ -82,6 +88,13 @@ export class Store { } else if (typeof x.assignment.value === 'object') { x.assignment.value = JSON.stringify(x.assignment.value); } + if (x.value) { + if (typeof x.value === 'object') { + x.value = JSON.stringify(x.value); + } + } else if (!x.value) { + x.value = x.assignment.value; + } return x; }); }); |