fix(ui): fix assist tooltip

This commit is contained in:
nick-delirium 2023-04-19 15:56:31 +02:00
parent d0b0014ae9
commit 151fc3d58b

View file

@ -150,7 +150,7 @@ function SessionItem(props: RouteComponentProps & Props) {
<Tooltip
delay={0}
title={`Session already added into the multiview`}
disabled={!props.isDisabled}
disabled={!props.isDisabled || !location.pathname.includes('multiview')}
>
<div
className={cn(stl.sessionItem, 'flex flex-col py-2 px-4')}