diff --git a/src/components/common/SelectSinger.tsx b/src/components/common/SelectSinger.tsx index 8eb211a..7309777 100644 --- a/src/components/common/SelectSinger.tsx +++ b/src/components/common/SelectSinger.tsx @@ -11,6 +11,8 @@ import { selectSingersArray, selectControllerName, selectQueueObject } from '../ import { queueService } from '../../firebase/services'; import { useToast } from '../../hooks/useToast'; import { ModalHeader } from './ModalHeader'; +import { NumberDisplay } from './NumberDisplay'; +import { SongInfoDisplay } from './SongItem'; import type { Song, Singer, QueueItem } from '../../types'; interface SelectSingerProps { @@ -75,29 +77,40 @@ const SelectSinger: React.FC = ({ isOpen, onClose, song }) => {/* Song Information */}
-

{song.title}

-

{song.artist}

-

{song.path}

+
+ +
{/* Singers List */} - - {singers.map((singer) => ( - handleSelectSinger(singer)} - disabled={isLoading} - > - -

{singer.name}

-

- Last login: {new Date(singer.lastLogin).toLocaleDateString()} -

-
-
- ))} -
+
+ + {singers.map((singer, index) => ( + handleSelectSinger(singer)} + disabled={isLoading} + detail={false} + style={{ '--padding-start': '0px', '--min-height': '60px' }} + > + {/* Order Number */} + + + {/* Singer Name */} + +
+ {singer.name} +
+
+
+ ))} +
+
{singers.length === 0 && (