Skip to content

Commit 885f302

Browse files
rajakvklocks
authored andcommitted
Use get for proxy objects at second level #775 to fix broken test
1 parent f536e9a commit 885f302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/api-index-filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default class ApiIndexFilter extends Component {
9090
*/
9191
findMostLocal(currentItem, nextItem) {
9292
let currentScope = this.model.file;
93-
let parentClassScope = this.model.get('parentClass').file;
93+
let parentClassScope = this.model.get('parentClass').get('file');
9494
if (currentScope === currentItem.file) {
9595
// if the item belongs to the class, keep it
9696
return currentItem;

0 commit comments

Comments
 (0)