feat(shcedule): add predefined schedule sport group

This commit is contained in:
2026-09-07 23:39:34 +03:00
parent 5db61da32b
commit 1835935eaf
11 changed files with 159 additions and 107 deletions
+5 -3
View File
@@ -14,9 +14,11 @@ export class ScheduleChannelManager {
element.setAttribute("removable", "");
container.appendChild(element);
}
const groupElement = new ScheduleChannelGroupElement();
groupElement.setAttribute("channels", JSON.stringify(channels));
container.append(groupElement);
if (channels.length > 0) {
const groupElement = new ScheduleChannelGroupElement();
groupElement.setAttribute("channels", JSON.stringify(channels));
container.append(groupElement);
}
}
}
}