group all relays

instead of showing single relays in a list, group them all.
This commit is contained in:
sakrecoer 2026-04-10 12:11:17 +02:00
parent 74e1c054b9
commit ea170d350f
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
import { cn } from '@/lib/utils'
import { TRelaySet } from '@/types'
import { ChevronDown, FolderClosed, Music, Radio, Trees, DoorOpen } from 'lucide-react'
import { ChevronDown, FolderClosed, Music, Radio, Trees, DoorOpen, TrendingUp } from 'lucide-react'
import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import RelayIcon from '../RelayIcon'
@ -25,6 +25,7 @@ export default function RelaySetCard({
if (nameLower.includes('music')) return Music
if (nameLower.includes('backstage')) return DoorOpen
if (nameLower.includes('hood')) return Trees
if (nameLower.includes('trend')) return TrendingUp
return FolderClosed