Sfoglia il codice sorgente

Add comment

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi 1 anno fa
parent
commit
bcf7cd0479
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/components/SearchResults/SearchResults.tsx

+ 2
- 0
src/components/SearchResults/SearchResults.tsx Vedi File

@@ -60,6 +60,8 @@ function SearchResults<T extends ResultWithId>({
const [rowsPerPage, setRowsPerPage] = React.useState(10);
const { t } = useTranslation()

// When filtering the seraching critera, update the page to 0
// Please removce when the search Result has error
useEffect(() => {
setPage(0);
}, [items]);


Caricamento…
Annulla
Salva