Skip to content

Commit

Permalink
🐛 Fix queue name rendering (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
foysalit authored Nov 8, 2024
1 parent 6e4f373 commit 666ffeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/reports/QueueSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ export const QueueSelector = () => {
onClick: selectQueue(''),
},
...queueNames.map((q) => ({
text: queueList[q].name,
text: queueList.setting[q].name,
onClick: selectQueue(q),
})),
]}
>
<h3 className="flex items-center text-lg font-medium leading-6 text-gray-900 dark:text-gray-200">
{queueName ? `${queueList[queueName].name} Queue` : 'Queue'}
{queueName ? `${queueList.setting[queueName].name} Queue` : 'Queue'}
<ChevronDownIcon
className="text-gray-900 dark:text-gray-200 h-4 w-4"
aria-hidden="true"
Expand Down

0 comments on commit 666ffeb

Please sign in to comment.