Changed channel categories from DB-backed Category records to a backed PHP enum

This commit is contained in:
2026-05-18 06:55:03 +03:30
parent 295a408965
commit 59e4ae60da
20 changed files with 221 additions and 130 deletions

View File

@@ -150,7 +150,7 @@ export default function ChannelShow({
<LiveState channel={channel} />
{channel.category && (
<span className="rounded-md border px-2 py-1 text-xs">
{channel.category.name}
{channel.category.label}
</span>
)}
</div>