Skip to content
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions nextjs/src/features/schemas/components/SchemaList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const SchemaList = (props: {
if (organizationId) {
getSchemaList(schemaListAPIParameter, allSchemaFlag)
}
}, [schemaListAPIParameter.page])
}, [schemaListAPIParameter.page, schemaListAPIParameter.allSearch, schemaListAPIParameter.search])

const onSearch = (event: ChangeEvent<HTMLInputElement>): void => {
const inputValue = event.target.value
Expand Down Expand Up @@ -464,7 +464,7 @@ const SchemaList = (props: {
</div>
))}
</div>
{totalItem > itemPerPage && (
{totalItem > itemPerPage && schemaList.length === itemPerPage && (
<div className="mt-6 flex justify-end">
<Pagination className="m-0 w-fit">
<PaginationContent>
Expand Down
Loading