show find in console

This commit is contained in:
Shin'ya Ueoka 2017-11-06 20:13:15 +09:00
parent cb4b26e03f
commit be37c42d28
11 changed files with 45 additions and 9 deletions

View file

@ -18,6 +18,8 @@ const onMessage = (message) => {
switch (message.type) {
case messages.CONSOLE_SHOW_COMMAND:
return store.dispatch(consoleActions.showCommand(message.command));
case messages.CONSOLE_SHOW_FIND:
return store.dispatch(consoleActions.showFind());
case messages.CONSOLE_SHOW_ERROR:
return store.dispatch(consoleActions.showError(message.text));
case messages.CONSOLE_SHOW_INFO: