Permalink
Browse files

fix(association-select): Return promise on load

  • Loading branch information...
RWOverdijk committed Dec 23, 2015
1 parent b9593a0 commit 2cc220a5b39d195d9de2e10e29bb8311809a1ee4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/component/association-select.js
@@ -39,7 +39,7 @@ export class AssociationSelect {
* (Re)Load the data for the select.
*/
load() {
this.buildFind()
return this.buildFind()
.then(options => {
let result = options;
this.options = Array.isArray(result) ? result : [result];

0 comments on commit 2cc220a

Please sign in to comment.