Skip to content

Commit

Permalink
regression: custom fields not showing in current chats (#30428)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSchoeler authored Sep 19, 2023
1 parent f9c2637 commit 87d1098
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -347,4 +347,4 @@ const CurrentChatsRoute = ({ id, onRowClick }: { id?: string; onRowClick: (_id:
);
};

export default memo(CurrentChatsRoute);
export default memo(CurrentChatsPage);
Original file line number Diff line number Diff line change
Expand Up @@ -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 comments on commit 87d1098

Please sign in to comment.