Add CenterFocusString to multiselect

This commit is contained in:
Daniel 2023-10-01 15:28:13 -04:00 committed by GitHub
parent 8dfd23f9ce
commit 19077995bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ import { ArrowDropdown } from '../icons/ArrowDropdown';
import Heading from './Heading';
import Button from './Button';
import CameraIcon from '../icons/Camera';
import CenterFocusString from '../icons/CenterFocusString';
import SpeakerIcon from '../icons/Speaker';
import useSWR from 'swr';
@ -61,7 +62,7 @@ export default function MultiSelect({ className, title, options, selection, onTo
className="max-h-[35px] mx-2"
onClick={() => onSelectSingle(item)}
>
{ (title === "Labels" && config.audio.listen.includes(item)) ? ( <SpeakerIcon /> ) : ( <CameraIcon /> ) }
{ (title === "Labels" && config.audio.listen.includes(item)) ? ( <SpeakerIcon /> ) : ( <CenterFocusString /> ) }
</Button>
</div>