diff --git a/services/backend-api/client/src/features/feed/components/UserFeedLogs/DeliveryHistory/index.tsx b/services/backend-api/client/src/features/feed/components/UserFeedLogs/DeliveryHistory/index.tsx index 297e23f97..92b7f5c21 100644 --- a/services/backend-api/client/src/features/feed/components/UserFeedLogs/DeliveryHistory/index.tsx +++ b/services/backend-api/client/src/features/feed/components/UserFeedLogs/DeliveryHistory/index.tsx @@ -160,8 +160,13 @@ export const DeliveryHistory = () => { - {fetchStatus === "fetching" && `Loading rows ${skip} through ${skip + limit}`} - {data && `Finished loading rows ${skip} through ${skip + limit}`} + {status === "loading" && + `Loading article delivery history rows ${skip} through ${skip + limit}`} + {status === "success" && + `Finished loading article delivery history rows ${skip} through ${skip + limit}`} + {status === "success" && + fetchStatus === "fetching" && + `Loading article delivery history rows ${skip} through ${skip + limit}`} {status === "loading" && (
diff --git a/services/backend-api/client/src/features/feed/components/UserFeedLogs/RequestHistory/index.tsx b/services/backend-api/client/src/features/feed/components/UserFeedLogs/RequestHistory/index.tsx index 2bfea9521..27cdc250c 100644 --- a/services/backend-api/client/src/features/feed/components/UserFeedLogs/RequestHistory/index.tsx +++ b/services/backend-api/client/src/features/feed/components/UserFeedLogs/RequestHistory/index.tsx @@ -107,8 +107,12 @@ export const RequestHistory = () => { - {fetchStatus === "fetching" && `Loading rows ${skip} through ${skip + limit}`} - {data && `Finished loading rows ${skip} through ${skip + limit}`} + {status === "loading" && `Loading request history rows ${skip} through ${skip + limit}`} + {status === "success" && + `Finished loading request history rows ${skip} through ${skip + limit}`} + {status === "success" && + fetchStatus === "fetching" && + `Loading request history rows ${skip} through ${skip + limit}`} {status === "loading" && (