mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Rename icon
This commit is contained in:
parent
4e6aacfb4c
commit
26179c188a
@ -5,7 +5,7 @@ import { ArrowDropdown } from '../icons/ArrowDropdown';
|
|||||||
import Heading from './Heading';
|
import Heading from './Heading';
|
||||||
import Button from './Button';
|
import Button from './Button';
|
||||||
import CameraIcon from '../icons/Camera';
|
import CameraIcon from '../icons/Camera';
|
||||||
import CenterFocusString from '../icons/CenterFocusString';
|
import SelectOnlyIcon from '../icons/SelectOnly';
|
||||||
import SpeakerIcon from '../icons/Speaker';
|
import SpeakerIcon from '../icons/Speaker';
|
||||||
import useSWR from 'swr';
|
import useSWR from 'swr';
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ export default function MultiSelect({ className, title, options, selection, onTo
|
|||||||
className="max-h-[35px] mx-2"
|
className="max-h-[35px] mx-2"
|
||||||
onClick={() => onSelectSingle(item)}
|
onClick={() => onSelectSingle(item)}
|
||||||
>
|
>
|
||||||
{ (title === "Labels" && config.audio.listen.includes(item)) ? ( <SpeakerIcon /> ) : ( <CenterFocusString /> ) }
|
{ (title === "Labels" && config.audio.listen.includes(item)) ? ( <SpeakerIcon /> ) : ( <SelectOnlyIcon /> ) }
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user