mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 14:49:07 +08:00
DEV: Fix flaky Ember test (#12802)
This commit is contained in:
parent
3867b8998c
commit
fd6f0db788
|
@ -613,7 +613,7 @@ export default Component.extend({
|
|||
},
|
||||
|
||||
_getSelected(trimLeading, opts) {
|
||||
if (!this.ready) {
|
||||
if (!this.ready || !this.element) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user