Skip to content

Commit

Permalink
Reverting allowed status table order as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
vasharma05 committed Jun 18, 2024
1 parent 31745f2 commit 109bea2
Showing 1 changed file with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,18 @@ function QueueTablesByStatus({ selectedQueue, searchTerm }: QueueTablesByStatusP
}
return (
<div className={styles.container}>
{allowedStatuses?.map((status) => (
<QueueTableForQueueAndStatus
isValidating={isValidating}
key={status.uuid}
queueEntries={queueEntries}
searchTerm={searchTerm}
queue={selectedQueue}
status={status}
/>
))}
{allowedStatuses
?.reverse()
?.map((status) => (
<QueueTableForQueueAndStatus
isValidating={isValidating}
key={status.uuid}
queueEntries={queueEntries}
searchTerm={searchTerm}
queue={selectedQueue}
status={status}
/>
))}
</div>
);
}
Expand Down

0 comments on commit 109bea2

Please sign in to comment.