瀏覽代碼

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


Loading…
取消
儲存