@@ -185,13 +185,6 @@ export function getConferenceButtonVisibility(
185185 return { isVisible, isEnabled : true } ;
186186}
187187
188- /**
189- * Get visibility for Conference In Progress indicator
190- */
191- export function getConferenceInProgressVisibility ( task : ITask ) : boolean {
192- return task ?. data ?. isConferenceInProgress ?? false ;
193- }
194-
195188/**
196189 * Get visibility for Exit Conference button
197190 */
@@ -413,7 +406,7 @@ export function getControlsVisibility(
413406
414407 // Calculate task state flags
415408 const isTransferVisibility = isBrowser ? webRtcEnabled : true ;
416- const isConferenceInProgress = task ?. data ?. isConferenceInProgress ?? false ;
409+ const isConferenceInProgress = ( task ?. data ?. isConferenceInProgress && multiPartyConferenceEnabled ) ?? false ;
417410 const isConsultInProgress = getIsConsultInProgress ( task ) ;
418411 const isHeld = findHoldStatus ( task , 'mainCall' , agentId ) ;
419412 const isCustomerInCall = getIsCustomerInCall ( task ) ;
@@ -560,7 +553,7 @@ export function getControlsVisibility(
560553 wrapup : getWrapupButtonVisibility ( task ) ,
561554
562555 // State flags
563- isConferenceInProgress : getConferenceInProgressVisibility ( task ) ,
556+ isConferenceInProgress,
564557 isConsultInitiated,
565558 isConsultInitiatedAndAccepted : isConsultAccepted ,
566559 isConsultReceived : isBeingConsulted ,
0 commit comments