DEV: Fix flaky Ember test (#12802)

This commit is contained in:
Penar Musaraj 2021-04-22 10:25:20 -04:00 committed by GitHub
parent 3867b8998c
commit fd6f0db788
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -613,7 +613,7 @@ export default Component.extend({
},
_getSelected(trimLeading, opts) {
if (!this.ready) {
if (!this.ready || !this.element) {
return;
}