From a7383db6a63fa661898c7d47062467795285d4c9 Mon Sep 17 00:00:00 2001 From: AmirHossein Mahmoodi Date: Wed, 1 Nov 2023 10:36:11 +0330 Subject: [PATCH] Fixed bug loading history call widget --- .../CallTabs/CallTabPanel/CallHistory/index.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallHistory/index.jsx b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallHistory/index.jsx index 1e940cb..9d61cce 100644 --- a/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallHistory/index.jsx +++ b/src/components/layouts/Dashboard/CallWidget/CallWidgetDialog/CallTabs/CallTabPanel/CallHistory/index.jsx @@ -26,10 +26,10 @@ const CallHistory = ({tab}) => { }}> - {errorHistoryList ? ( - - ) : isLoadingHistoryList ? ( + {isLoadingHistoryList ? ( + ) : errorHistoryList ? ( + ) : !firstItemOfHistory ? ( ) : (