change(ui) - removed active button from the session listing item

This commit is contained in:
Shekar Siri 2022-07-18 11:37:54 +02:00
parent 42a55de211
commit c8716c778f

View file

@ -52,7 +52,7 @@ interface Props {
hasUserFilter?: boolean;
disableUser?: boolean;
metaList?: Array<any>;
showActive?: boolean;
// showActive?: boolean;
lastPlayedSessionId?: string;
live?: boolean;
onClick?: any
@ -68,7 +68,6 @@ function SessionItem(props: RouteComponentProps & Props) {
hasUserFilter = false,
disableUser = false,
metaList = [],
showActive = false,
lastPlayedSessionId,
onClick = null,
} = props;
@ -162,11 +161,6 @@ function SessionItem(props: RouteComponentProps & Props) {
</div>
<div className="flex items-center">
{ isAssist && showActive && (
<Label success className={cn("bg-green color-white text-right mr-4", { 'opacity-0' : !active})}>
<span className="color-white">ACTIVE</span>
</Label>
)}
<div className={ stl.playLink } id="play-button" data-viewed={ viewed }>
{ isSessions && (
<div className="mr-4 flex-shrink-0 w-24">