chore: compare values in DateTargetSelector (#23916)
This commit is contained in:
1 parent
f1ac0642d1
commit
3e1629add9
1 file changed
+1
-1
@@ -65,7 +65,7 @@ export const DateTargetSelector = ({ value, onChange }: DateTargetSelectorProps)
|
|||||||
<div className="font-medium">{option.label}</div>
|
<div className="font-medium">{option.label}</div>
|
||||||
<div className="text-muted-foreground text-sm">{option.description}</div>
|
<div className="text-muted-foreground text-sm">{option.description}</div>
|
||||||
</div>
|
</div>
|
||||||
{selectedOption.label === option.label && (
|
{selectedOption.value === option.value && (
|
||||||
<Icon name="check" className="text-primary-foreground h-4 w-4" />
|
<Icon name="check" className="text-primary-foreground h-4 w-4" />
|
||||||
)}
|
)}
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
|
|||||||
Reference in new issue
Block a user