|
|
|
@ -76,7 +76,7 @@ export const registerCommandReducer = (state, action) => { |
|
|
|
|
case LISTEN_ON_NETWORK: |
|
|
|
|
return { |
|
|
|
|
...state, |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-info' }) |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-log' }) |
|
|
|
|
} |
|
|
|
|
default : |
|
|
|
|
return { state } |
|
|
|
@ -149,12 +149,12 @@ export const registerScriptRunnerReducer = (state, action) => { |
|
|
|
|
case LOG: |
|
|
|
|
return { |
|
|
|
|
...state, |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-info', provider: action.payload.provider }) |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-log', provider: action.payload.provider }) |
|
|
|
|
} |
|
|
|
|
case INFO: |
|
|
|
|
return { |
|
|
|
|
...state, |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-info', provider: action.payload.provider }) |
|
|
|
|
journalBlocks: initialState.journalBlocks.push({ message: action.payload.message, style: 'text-log', provider: action.payload.provider }) |
|
|
|
|
} |
|
|
|
|
case WARN: |
|
|
|
|
return { |
|
|
|
|