refactor: Remove adapterOptions for a target route
This commit is contained in:
1 file changed
+1
-5
@@ -11,11 +11,7 @@ export default class ScopesScopeProjectsProjectTargetsTargetRoute extends Route
|
||||
* @return {TargetModel}
|
||||
*/
|
||||
async model({ target_id }) {
|
||||
const { id: scopeID } = this.modelFor('scopes.scope.projects.project');
|
||||
return this.store.findRecord('target', target_id, {
|
||||
reload: true,
|
||||
adapterOptions: { scopeID }
|
||||
});
|
||||
return this.store.findRecord('target', target_id, { reload: true });
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user