use mode in console message
This commit is contained in:
parent
f6996a2274
commit
b0d2b53281
11 changed files with 36 additions and 43 deletions
|
@ -28,7 +28,7 @@ browser.runtime.onMessage.addListener((action) => {
|
|||
return store.dispatch(consoleActions.showCommand(action.command));
|
||||
case messages.CONSOLE_SHOW_ERROR:
|
||||
return store.dispatch(consoleActions.showError(action.text));
|
||||
case messages.CONSOLE_HIDE:
|
||||
return store.dispatch(consoleActions.hide(action.command));
|
||||
case messages.CONSOLE_HIDE_COMMAND:
|
||||
return store.dispatch(consoleActions.hideCommand());
|
||||
}
|
||||
});
|
||||
|
|
Reference in a new issue