From a561da2b031a4d82bacf4ec16d42a7bc6f4d9416 Mon Sep 17 00:00:00 2001 From: Donald Wasserman Date: Thu, 19 Apr 2018 16:31:59 -0400 Subject: [PATCH] fixes #1094 --- addon/components/power-select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/power-select.js b/addon/components/power-select.js index 865990c10..81219e204 100644 --- a/addon/components/power-select.js +++ b/addon/components/power-select.js @@ -138,7 +138,7 @@ export default Component.extend({ return null; }, set(_, selected) { - if (selected && selected.then) { + if (selected && get(selected, 'then')) { this.get('_updateSelectedTask').perform(selected); } else { scheduleOnce('actions', this, this.updateSelection, selected);