Skip to content
Snippets Groups Projects
Unverified Commit b106fb7d authored by Martin Schoeler's avatar Martin Schoeler Committed by Tasso Evangelista
Browse files

[FIX] Restore current chats default table order (#26808)

parent 7206fb78
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ const useQuery: useQueryType = (
}, [guest, column, direction, itemsPerPage, current, from, to, status, servedBy, department, tags, customFields]);
const CurrentChatsRoute = (): ReactElement => {
const { sortBy, sortDirection, setSort } = useSort<'fname' | 'departmentId' | 'servedBy' | 'ts' | 'lm' | 'open'>('fname');
const { sortBy, sortDirection, setSort } = useSort<'fname' | 'departmentId' | 'servedBy' | 'ts' | 'lm' | 'open'>('ts', 'desc');
const [customFields, setCustomFields] = useState<{ [key: string]: string }>();
const [params, setParams] = useState({
guest: '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment