(pageCategories.has(category))
| 457 | let categories = []; |
| 458 | for (let category of CATEGORY_ORDER) { |
| 459 | if (pageCategories.has(category)) { |
| 460 | categories.push(category); |
| 461 | } else if (category === '...') { |
| 462 | for (let category of [...pageCategories].sort()) { |
| 463 | if (!CATEGORY_ORDER.includes(category)) { |
| 464 | categories.push(category); |