Skip to content

Commit

Permalink
Merge pull request adfinis#316 from open-dynaMIX/fix_interest_categor…
Browse files Browse the repository at this point in the history
…ies_bug

fix(ember): handle allCategories undefined
  • Loading branch information
open-dynaMIX committed Aug 27, 2021
2 parents f4b1d81 + 97f434d commit 7bdf130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember/app/ui/interests/index/controller.js
Expand Up @@ -17,7 +17,7 @@ export default class InterestsIndexController extends Controller {

// List
get categories() {
return this.allCategories.filterBy("isNew", false);
return this.allCategories?.filterBy("isNew", false);
}

@lastValue("fetchInterests") allCategories;
Expand Down

0 comments on commit 7bdf130

Please sign in to comment.