Skip to content
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 @@ -175,7 +175,7 @@ export default function ComponentsTable({ setNumberOfComponent }: Props) {
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default function ComponentTable({
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down
4 changes: 2 additions & 2 deletions src/app/[locale]/projects/components/LinkProjects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default function LinkProjects({
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down Expand Up @@ -250,7 +250,7 @@ export default function LinkProjects({

return {
...prev,
sort: '',
sort: 'name,asc',
}
})
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default function CompareObligation({

return {
...prev,
sort: '',
sort: 'name,asc',
}
})
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/[locale]/projects/components/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ function Project(): JSX.Element {
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const LinkReleaseToProjectModal = ({ releaseId, show, setShow }: Props): JSX.Ele
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export default function LinkProjectsModal({
const [pageableQueryParam, setPageableQueryParam] = useState<PageableQueryParam>({
page: 0,
page_entries: 10,
sort: '',
sort: 'name,asc',
})
const [paginationMeta, setPaginationMeta] = useState<PaginationMeta | undefined>({
size: 0,
Expand Down
Loading