Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(component): association select\'s resource bindable can also refe…
Browse files Browse the repository at this point in the history
…rence repo instance
  • Loading branch information
bas080 committed Jun 30, 2016
1 parent e037efa commit 48ae57a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/association-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ export class AssociationSelect {
if (!resource) {
logger.error('resource bindable should be a string instead of ' + typeof resource);
}

this.repository = this.entityManager.getRepository(resource);
}

Expand Down

0 comments on commit 48ae57a

Please sign in to comment.