summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Wudzinski <adam.wudzinski@nokia.com>2019-04-10 13:53:20 +0200
committerawudzins <adam.wudzinski@nokia.com>2019-04-11 14:38:57 +0200
commit61081ba1009f17147a66e236c9be5c0dc234ba39 (patch)
tree26d8b98c92305179bb9e1b907f422116e19e8434 /src
parentcae868635ebe867b85223b056a5243c128192cbe (diff)
TierSupportActions test
Add tests for TierSupportActions Change-Id: Idc10c2a04026bbe08fcffd0b2dbe4e939b33b790 Issue-ID: AAI-1618 Signed-off-by: awudzins <adam.wudzinski@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/app/tierSupport/TierSupportActions.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/app/tierSupport/TierSupportActions.js b/src/app/tierSupport/TierSupportActions.js
index 08e4e30..69370fa 100644
--- a/src/app/tierSupport/TierSupportActions.js
+++ b/src/app/tierSupport/TierSupportActions.js
@@ -183,8 +183,10 @@ export function querySelectedNodeElement(
}
return dispatch => {
- dispatch(setBusyFeedback());
- dispatch(fetchSelectedNodeElement(selectedNodeFetchRequest));
+ return Promise.all([
+ dispatch(setBusyFeedback()),
+ dispatch(fetchSelectedNodeElement(selectedNodeFetchRequest))
+ ]);
};
}