Skip to content
Snippets Groups Projects
Unverified Commit 87d1098a authored by Martin Schoeler's avatar Martin Schoeler Committed by GitHub
Browse files

regression: custom fields not showing in current chats (#30428)

parent f9c26375
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ const currentChatQuery: useQueryType = (
return query;
};
const CurrentChatsRoute = ({ id, onRowClick }: { id?: string; onRowClick: (_id: string) => void }): ReactElement => {
const CurrentChatsPage = ({ id, onRowClick }: { id?: string; onRowClick: (_id: string) => void }): ReactElement => {
const { sortBy, sortDirection, setSort } = useSort<'fname' | 'departmentId' | 'servedBy' | 'priorityWeight' | 'ts' | 'lm' | 'open'>(
'ts',
'desc',
......@@ -347,4 +347,4 @@ const CurrentChatsRoute = ({ id, onRowClick }: { id?: string; onRowClick: (_id:
);
};
export default memo(CurrentChatsRoute);
export default memo(CurrentChatsPage);
......@@ -26,7 +26,7 @@ const CurrentChatsRoute = (): ReactElement => {
}
// TODO: Missing error state
return <CurrentChatsPage onRowClick={onRowClick} />;
return <CurrentChatsPage onRowClick={onRowClick} id={id} />;
};
export default memo(CurrentChatsRoute);
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