Added formatting for jobs lists and jobs detail components
This commit is contained in:
@@ -3,6 +3,7 @@ const INITIAL_STATE = {
|
||||
watcherStatus: "Not Started",
|
||||
watchedPaths: [],
|
||||
watcherError: null,
|
||||
selectedJobId: null,
|
||||
};
|
||||
|
||||
const applicationReducer = (state = INITIAL_STATE, action) => {
|
||||
@@ -32,6 +33,8 @@ const applicationReducer = (state = INITIAL_STATE, action) => {
|
||||
...state,
|
||||
watcherError: action.payload,
|
||||
};
|
||||
case ApplicationActionTypes.SET_SELECTED_JOB_ID:
|
||||
return { ...state, selectedJobId: action.payload };
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user