mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Fix lint and use icon
for speech
This commit is contained in:
parent
26179c188a
commit
f917a9aeb5
@ -4,7 +4,6 @@ import Menu from './Menu';
|
||||
import { ArrowDropdown } from '../icons/ArrowDropdown';
|
||||
import Heading from './Heading';
|
||||
import Button from './Button';
|
||||
import CameraIcon from '../icons/Camera';
|
||||
import SelectOnlyIcon from '../icons/SelectOnly';
|
||||
import SpeakerIcon from '../icons/Speaker';
|
||||
import useSWR from 'swr';
|
||||
@ -62,7 +61,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 /> ) : ( <SelectOnlyIcon /> ) }
|
||||
{ ( <SelectOnlyIcon /> ) }
|
||||
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
@ -6,7 +6,7 @@ export function SelectOnly({ className = 'h-5 w-5', stroke = 'currentColor', fil
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
fill="none"
|
||||
fill={fill}
|
||||
viewBox="0 0 24 24"
|
||||
stroke={stroke}
|
||||
onClick={onClick}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user