allow start model when user select same value with selected model
This commit is contained in:
parent
a6aec56203
commit
14400452b8
@ -243,8 +243,10 @@ export default function DropdownListSidebar() {
|
|||||||
key={i}
|
key={i}
|
||||||
value={x.id}
|
value={x.id}
|
||||||
className={twMerge(x.id === selected?.id && 'bg-secondary')}
|
className={twMerge(x.id === selected?.id && 'bg-secondary')}
|
||||||
onClick={() => {
|
onPointerUp={() => {
|
||||||
x.id === selected?.id && console.log('huhft')
|
if (x.id === selected?.id) {
|
||||||
|
startModel(x.id)
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="flex w-full justify-between">
|
<div className="flex w-full justify-between">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user