code refactoring

This commit is contained in:
2024-05-06 23:20:51 +05:30
parent fd43f9c1e6
commit fe79623464
10 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ categoryClicked: boolean = false;
? this.model.projects
: this.model.projects.filter(
(project: IProject) => {
return project.categoryList.includes(category)
return project.categories.includes(category)
});
}
}