Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Jan 3, 2024
1 parent f8c4cab commit 346b608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/route-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class RouteTreeController extends Controller {
'searchValue'
)
get filtered() {
if (Array.isArray(this.model)) {
if (!Array.isArray(this.model)) {
return [];
}
return this.model.filter((routeItem) => {
Expand Down

0 comments on commit 346b608

Please sign in to comment.