Skip to content

Commit

Permalink
Mirage finding looks weird so making model async in hash even though …
Browse files Browse the repository at this point in the history
…redundant
  • Loading branch information
philrenaud committed Sep 26, 2023
1 parent 7fe86eb commit f0954e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/app/routes/access-control.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export default class AccessControlRoute extends Route.extend(
}

// Load our tokens, roles, and policies
model() {
async model() {
return RSVP.hash({
tokens: this.store.findAll('token'),
roles: this.store.findAll('role'),
policies: this.store.findAll('policy'),
policies: await this.store.findAll('policy'),
tokens: await this.store.findAll('token'),
roles: await this.store.findAll('role'),
});
}

Expand Down

0 comments on commit f0954e9

Please sign in to comment.