use mode in console message

This commit is contained in:
Shin'ya Ueoka 2017-10-08 18:41:44 +09:00
parent f6996a2274
commit b0d2b53281
11 changed files with 36 additions and 43 deletions

View file

@ -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());
}
});