From fd3eb8227aabecf2b9d322bd954ba205de99f873 Mon Sep 17 00:00:00 2001 From: tonyco97 Date: Wed, 30 Aug 2023 17:04:18 +0200 Subject: [PATCH] Fixed wrong dark theme and UI inside monitor tab --- components/layout/UserLastCalls.tsx | 5 ++--- components/queueManager/Monitor/Monitor.tsx | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/components/layout/UserLastCalls.tsx b/components/layout/UserLastCalls.tsx index 86462d68..dfbffe0b 100644 --- a/components/layout/UserLastCalls.tsx +++ b/components/layout/UserLastCalls.tsx @@ -23,8 +23,7 @@ import { useEventListener } from '../../lib/hooks/useEventListener' import { isEmpty } from 'lodash' interface LastCallTypes extends CallTypes { - avatar?: string - presence?: StatusTypes | undefined + username: string } type LastCallsTypes = LastCallTypes[] @@ -193,7 +192,7 @@ export const UserLastCalls = () => { )} {/* Iterate through speed dial list */} {lastCalls?.length! > 0 && - lastCalls?.map((call: any, key: any) => ( + lastCalls?.map((call, key) => (
  • = ({ className }): JSX.Element => {
    {/* Card section */} -
    +
    {isFullscreen && ( - +
    + +
    )}