Flip default ordering of workflow library; #5477

This commit is contained in:
Mark E. Shoulson 2024-03-27 14:03:44 -04:00 committed by psychedelicious
parent 86d536755d
commit 0bb0e226dc

View File

@ -73,7 +73,7 @@ const WorkflowLibraryList = () => {
}, [projectId, ORDER_BY_OPTIONS]); }, [projectId, ORDER_BY_OPTIONS]);
const [order_by, setOrderBy] = useState<WorkflowRecordOrderBy>(orderByOptions[0]?.value as WorkflowRecordOrderBy); const [order_by, setOrderBy] = useState<WorkflowRecordOrderBy>(orderByOptions[0]?.value as WorkflowRecordOrderBy);
const [direction, setDirection] = useState<SQLiteDirection>('ASC'); const [direction, setDirection] = useState<SQLiteDirection>('DESC');
const [debouncedQuery] = useDebounce(query, 500); const [debouncedQuery] = useDebounce(query, 500);
const queryArg = useMemo<Parameters<typeof useListWorkflowsQuery>[0]>(() => { const queryArg = useMemo<Parameters<typeof useListWorkflowsQuery>[0]>(() => {