add try catch for closing compose dialog
This commit is contained in:
parent
fe8ad175f2
commit
b8d93a5d96
|
@ -22,7 +22,12 @@
|
||||||
this.set({shown: true})
|
this.set({shown: true})
|
||||||
},
|
},
|
||||||
onPostedStatus() {
|
onPostedStatus() {
|
||||||
this.set({closed: true})
|
try {
|
||||||
|
this.set({closed: true})
|
||||||
|
} catch (e) {
|
||||||
|
// TODO: this seems to error sometimes, not sure why
|
||||||
|
console.error(e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue