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
Implementing user feed back
[aai/sparky-fe.git]
/
src
/
app
/
vnfSearch
/
VnfSearchReducer.js
diff --git
a/src/app/vnfSearch/VnfSearchReducer.js
b/src/app/vnfSearch/VnfSearchReducer.js
index
5c96a2b
..
afd822c
100644
(file)
--- a/
src/app/vnfSearch/VnfSearchReducer.js
+++ b/
src/app/vnfSearch/VnfSearchReducer.js
@@
-20,9
+20,8
@@
*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
*
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-
-import {vnfActionTypes} from 'app/vnfSearch/VnfSearchConstants.js';
import {
import {
+ vnfActionTypes,
CHART_ORCH_STATUS,
CHART_PROV_STATUS,
CHART_NF_ROLE,
CHART_ORCH_STATUS,
CHART_PROV_STATUS,
CHART_NF_ROLE,
@@
-30,13
+29,13
@@
import {
TOTAL_VNF_COUNT
} from 'app/vnfSearch/VnfSearchConstants.js';
import {ERROR_RETRIEVING_DATA} from 'app/networking/NetworkConstants.js';
TOTAL_VNF_COUNT
} from 'app/vnfSearch/VnfSearchConstants.js';
import {ERROR_RETRIEVING_DATA} from 'app/networking/NetworkConstants.js';
-import {MESSAGE_LEVEL_DANGER} from 'utils/GlobalConstants.js';
+import {
+ filterBarActionTypes,
+ MESSAGE_LEVEL_DANGER
+} from 'utils/GlobalConstants.js';
import {
globalAutoCompleteSearchBarActionTypes
} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarConstants.js';
import {
globalAutoCompleteSearchBarActionTypes
} from 'app/globalAutoCompleteSearchBar/GlobalAutoCompleteSearchBarConstants.js';
-import {
- filterBarActionTypes
-} from 'generic-components/filterBar/FilterBarConstants.js';
export default (state = {}, action) => {
let data = action.data;
export default (state = {}, action) => {
let data = action.data;
@@
-106,6
+105,16
@@
export default (state = {}, action) => {
vnfFilterValues: data.nonConvertedValues // launching DI view via menu button requires this
// to be set so visualizations and table will populate themselves
};
vnfFilterValues: data.nonConvertedValues // launching DI view via menu button requires this
// to be set so visualizations and table will populate themselves
};
+ case vnfActionTypes.VNF_ACTIVATE_BUSY_FEEDBACK:
+ return {
+ ...state,
+ enableBusyFeedback: true
+ };
+ case vnfActionTypes.VNF_DISABLE_BUSY_FEEDBACK:
+ return {
+ ...state,
+ enableBusyFeedback: false
+ };
case filterBarActionTypes.CLEAR_FILTERS:
return {
...state,
case filterBarActionTypes.CLEAR_FILTERS:
return {
...state,