aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/ducks/ui/flow.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/ducks/ui/flow.js')
-rw-r--r--web/src/js/ducks/ui/flow.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/web/src/js/ducks/ui/flow.js b/web/src/js/ducks/ui/flow.js
index 9c1d6dea..f3489bee 100644
--- a/web/src/js/ducks/ui/flow.js
+++ b/web/src/js/ducks/ui/flow.js
@@ -10,15 +10,13 @@ export const SET_CONTENT_VIEW = 'UI_FLOWVIEW_SET_CONTENT_VIEW',
UPDATE_EDIT = 'UI_FLOWVIEW_UPDATE_EDIT',
UPLOAD_CONTENT = 'UI_FLOWVIEW_UPLOAD_CONTENT',
SET_SHOW_FULL_CONTENT = 'UI_SET_SHOW_FULL_CONTENT',
- SET_CONTENT_VIEW_DESCRIPTION = "UI_SET_CONTENT_VIEW_DESCRIPTION",
- SET_CONTENT_VIEW_SELECTOR = "UI_SET_CONTENT_VIEW_SELECTOR"
+ SET_CONTENT_VIEW_DESCRIPTION = "UI_SET_CONTENT_VIEW_DESCRIPTION"
const defaultState = {
displayLarge: false,
contentViewDescription: '',
showFullContent: false,
- isContentViewSelectorOpen: false,
modifiedFlow: false,
contentView: 'Auto',
tab: 'request',
@@ -81,13 +79,6 @@ export default function reducer(state = defaultState, action) {
showFullContent: action.show
}
-
- case SET_CONTENT_VIEW_SELECTOR:
- return {
- ...state,
- isContentViewSelectorOpen: action.contentViewSelector
- }
-
case SET_TAB:
return {
...state,
@@ -141,10 +132,6 @@ export function setShowFullContent(show) {
return { type: SET_SHOW_FULL_CONTENT, show }
}
-export function setContentViewSelectorOpen(open){
- return {type: SET_CONTENT_VIEW_SELECTOR, contentViewSelector: open}
-}
-
export function updateEdit(update) {
return { type: UPDATE_EDIT, update }
}