Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Feb 17, 2023
1 parent 61f108a commit 90c236f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export const GenericTable = forwardRef<HTMLElement, GenericTableProps>(function
return (
<Box mi='neg-x24' pi='x24' flexShrink={1} flexGrow={1} ref={ref} overflow='hidden'>
<ScrollableContentWrapper overflowX>
<Table fixed={fixed} sticky {...props}>
{/* TODO: Fix fuselage */}
<Table fixed={fixed} sticky {...(props as any)}>
{children}
</Table>
</ScrollableContentWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ const DepartmentsPageWithData = (): ReactElement => {
['omnichannel', 'departments', debouncedText, pagination, sort],
() =>
getDepartments({
onlyMyDepartments: 'true' as const,
onlyMyDepartments: 'true',
text: debouncedText,
sort: JSON.stringify({ [sort.sortBy]: sort.sortDirection === 'asc' ? 1 : -1 }),
...(pagination.current && { offset: pagination.current }),
...(pagination.itemsPerPage && { count: pagination.itemsPerPage }),
fields: JSON.stringify({ name: 1, username: 1, emails: 1, avatarETag: 1 }),
}),
{
keepPreviousData: true,
Expand Down
4 changes: 0 additions & 4 deletions packages/rest-typings/src/v1/omnichannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,6 @@ const LivechatDepartmentSchema = {
type: 'string',
nullable: true,
},
fields: {
type: 'string',
nullable: true,
},
},
additionalProperties: false,
};
Expand Down

0 comments on commit 90c236f

Please sign in to comment.