Revision 57812
Added by Argiro Kokogiannaki over 4 years ago
indicator-utils.ts | ||
---|---|---|
37 | 37 |
let subTokeep: SubCategory[] = []; |
38 | 38 |
for (let subCategory of category.subCategories) { |
39 | 39 |
let chartsTokeep: Indicator[] = []; |
40 |
if (subCategory.recommendedFor.length == 0 || subCategory.recommendedFor.indexOf(funder.index_id) != -1) {
|
|
40 |
if (subCategory.recommendedFor.length == 0 || subCategory.recommendedFor.indexOf(funder._id) != -1) { |
|
41 | 41 |
subTokeep.push(subCategory); |
42 | 42 |
} |
43 | 43 |
for (let indicator of subCategory.charts) { |
44 |
if (indicator.recommendedFor.length == 0 || indicator.recommendedFor.indexOf(funder.index_id) != -1) {
|
|
44 |
if (indicator.recommendedFor.length == 0 || indicator.recommendedFor.indexOf(funder._id) != -1) { |
|
45 | 45 |
chartsTokeep.push(indicator); |
46 | 46 |
} |
47 | 47 |
for (let indicatorPath of indicator.indicatorPaths) { |
Also available in: Unified diff
Funder page:
add message when there are no indicators & description
hide search & menu items
match height for indicators: title & frame stays at the bottom
add link to admin
add prototype badge
Indicator Creator:
add more categories