aboutsummaryrefslogtreecommitdiff
path: root/src/console/components/completion.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/components/completion.js')
-rw-r--r--src/console/components/completion.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/console/components/completion.js b/src/console/components/completion.js
index 5033b5c..a49a221 100644
--- a/src/console/components/completion.js
+++ b/src/console/components/completion.js
@@ -3,6 +3,10 @@ export default class Completion {
this.wrapper = wrapper;
this.store = store;
this.prevState = {};
+
+ store.subscribe(() => {
+ this.update();
+ });
}
update() {