mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 11:11:12 -05:00
Fix: Implement sorting functionality
This commit is contained in:
@@ -15,7 +15,6 @@ interface QueueSortControlsProps {
|
||||
const getSortFieldLabel = (field: SortField): string => {
|
||||
switch (field) {
|
||||
case 'created_at': return 'Date Created';
|
||||
case 'username': return 'Submitter';
|
||||
case 'submission_type': return 'Type';
|
||||
case 'status': return 'Status';
|
||||
case 'escalated': return 'Escalated';
|
||||
@@ -58,7 +57,6 @@ export const QueueSortControls = ({
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="created_at">{getSortFieldLabel('created_at')}</SelectItem>
|
||||
<SelectItem value="username">{getSortFieldLabel('username')}</SelectItem>
|
||||
<SelectItem value="submission_type">{getSortFieldLabel('submission_type')}</SelectItem>
|
||||
<SelectItem value="status">{getSortFieldLabel('status')}</SelectItem>
|
||||
<SelectItem value="escalated">{getSortFieldLabel('escalated')}</SelectItem>
|
||||
|
||||
Reference in New Issue
Block a user