Commit 5ab0c915 authored by chris's avatar chris

rerender on notes updated

parent 207d293e
...@@ -6,6 +6,7 @@ class NoteComponent extends Component { ...@@ -6,6 +6,7 @@ class NoteComponent extends Component {
didMount() { didMount() {
const provider = this.getProvider() const provider = this.getProvider()
provider.on('active:changed', this.rerender, this) provider.on('active:changed', this.rerender, this)
provider.on('notes:updated', this.rerender, this)
} }
render($$) { render($$) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment