FIX: creating new badge is failing on empty SQL query (#7837)
This commit is contained in:
parent
0872a1182d
commit
ccb3ba509d
|
@ -17,7 +17,7 @@ export default Ember.Component.extend({
|
|||
|
||||
@observes("content")
|
||||
contentChanged() {
|
||||
if (this._editor && !this._skipContentChangeEvent) {
|
||||
if (this._editor && !this._skipContentChangeEvent && this.content) {
|
||||
this._editor.getSession().setValue(this.content);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue