diff --git a/frontend/src/container/ListOfDashboard/DashboardsList.tsx b/frontend/src/container/ListOfDashboard/DashboardsList.tsx index 421c7e31c4..c131119a6c 100644 --- a/frontend/src/container/ListOfDashboard/DashboardsList.tsx +++ b/frontend/src/container/ListOfDashboard/DashboardsList.tsx @@ -91,6 +91,7 @@ function DashboardsList(): JSX.Element { const { data: dashboardListResponse, isLoading: isDashboardListLoading, + isRefetching: isDashboardListRefetching, error: dashboardFetchError, refetch: refetchDashboardList, } = useGetAllDashboard(); @@ -703,7 +704,9 @@ function DashboardsList(): JSX.Element { - {isDashboardListLoading || isFilteringDashboards ? ( + {isDashboardListLoading || + isFilteringDashboards || + isDashboardListRefetching ? (
@@ -902,7 +905,11 @@ function DashboardsList(): JSX.Element { columns={columns} dataSource={data} showSorterTooltip - loading={isDashboardListLoading || isFilteringDashboards} + loading={ + isDashboardListLoading || + isFilteringDashboards || + isDashboardListRefetching + } showHeader={false} pagination={paginationConfig} />