Fixed total rows count when error
This commit is contained in:
parent
0d8ad42ea0
commit
72f8d1987f
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ export default function StorePage(): JSX.Element {
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
setSearchData([]);
|
setSearchData([]);
|
||||||
|
setTotalRowsCount(0);
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
setErrorData({
|
setErrorData({
|
||||||
title: "Error to get components.",
|
title: "Error to get components.",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue