Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: custom fields not showing in current chats #30428

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
Loading