mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Support hiding items in Custom Item sections, and allow adding items to default Kefin custom item sections
This commit is contained in:
@@ -245,7 +245,8 @@
|
||||
.replace(/\$\{kefinTweaksRoot\}/g, kefinTweaksRoot)
|
||||
.replace(/\$\{serverId\}/g, serverId);
|
||||
|
||||
const normalizedItems = sectionConfig.items.map((item, index) => {
|
||||
const visibleItems = sectionConfig.items.filter((item) => item && item.hidden !== true);
|
||||
const normalizedItems = visibleItems.map((item, index) => {
|
||||
const posterUrl = normalizeTemplate(item.posterUrl);
|
||||
const thumbUrl = normalizeTemplate(item.thumbUrl);
|
||||
const squareUrl = normalizeTemplate(item.squareUrl);
|
||||
|
||||
Reference in New Issue
Block a user