Fix access to the indexes
This commit is contained in:
parent
93a1d88469
commit
abb771ecf7
1 changed files with 1 additions and 1 deletions
|
|
@ -2,6 +2,6 @@ import Route from '@ember/routing/route';
|
|||
|
||||
export default class AdminIndexesItemRoute extends Route {
|
||||
model({ uid }) {
|
||||
return this.modelFor('admin').find((item) => item.uid === uid);
|
||||
return this.modelFor('admin').indexes.find((item) => item.uid === uid);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue