Code Review
/
aai
/
sparky-fe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Adding Violation History to DIO"
[aai/sparky-fe.git]
/
src
/
app
/
tierSupport
/
TierSupportReducer.js
diff --git
a/src/app/tierSupport/TierSupportReducer.js
b/src/app/tierSupport/TierSupportReducer.js
index
1560427
..
7062360
100644
(file)
--- a/
src/app/tierSupport/TierSupportReducer.js
+++ b/
src/app/tierSupport/TierSupportReducer.js
@@
-89,6
+89,16
@@
export default combineReducers({
...state,
nodeData: action.data
};
...state,
nodeData: action.data
};
+ case tierSupportActionTypes.TIER_SUPPORT_ACTIVATE_BUSY_FEEDBACK:
+ return {
+ ...state,
+ enableBusyFeedback: true
+ };
+ case tierSupportActionTypes.TIER_SUPPORT_DISABLE_BUSY_FEEDBACK:
+ return {
+ ...state,
+ enableBusyFeedback: false
+ };
case globalAutoCompleteSearchBarActionTypes.SEARCH_WARNING_EVENT:
let emptyNodesAndLinksWarningEvent = ForceDirectedGraph.generateNewProps([], [], {});
return {
case globalAutoCompleteSearchBarActionTypes.SEARCH_WARNING_EVENT:
let emptyNodesAndLinksWarningEvent = ForceDirectedGraph.generateNewProps([], [], {});
return {
@@
-108,6
+118,13
@@
export default combineReducers({
} else {
return state;
}
} else {
return state;
}
+ case tierSupportActionTypes.TS_OVERLAY_NETWORK_CALLBACK_RESPONSE_RECEIVED:
+ let newNodeData = JSON.parse(JSON.stringify(action.data.curData));
+ newNodeData[action.data.paramName] = action.data.overlayData;
+ return {
+ ...state,
+ nodeData: newNodeData
+ };
}
return state;
}
return state;