aboutsummaryrefslogtreecommitdiff
path: root/src/console/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/components')
-rw-r--r--src/console/components/console.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/console/components/console.js b/src/console/components/console.js
index 7997f24..d09e252 100644
--- a/src/console/components/console.js
+++ b/src/console/components/console.js
@@ -68,8 +68,10 @@ export default class ConsoleComponent {
update() {
let state = this.store.getState();
if (this.prevState.mode !== 'command' && state.mode === 'command') {
- this.showCommand(state.commandText);
- } else if (state.mode !== 'command') {
+ this.showCommand(state.consoleText);
+ } else if (this.prevState.mode !== 'find' && state.mode === 'find') {
+ this.showFind();
+ } else if (state.mode !== 'command' && state.mode !== 'find') {
this.hideCommand();
}