Преглед на файлове

Add comment

tags/Baseline_30082024_FRONTEND_UAT
MSI\2Fi преди 1 година
родител
ревизия
bcf7cd0479
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. +2
    -0
      src/components/SearchResults/SearchResults.tsx

+ 2
- 0
src/components/SearchResults/SearchResults.tsx Целия файл

@@ -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]);


Зареждане…
Отказ
Запис