mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Fix
This commit is contained in:
parent
dfbc511f41
commit
b293258220
@ -93,7 +93,7 @@ export default function Config() {
|
|||||||
<div className="flex justify-between">
|
<div className="flex justify-between">
|
||||||
<Heading>Config</Heading>
|
<Heading>Config</Heading>
|
||||||
<div>
|
<div>
|
||||||
{window.navigator.clipboard && (
|
{window.navigator.clipboard.writeText && (
|
||||||
<Button className="mx-2" onClick={(e) => handleCopyConfig(e)}>
|
<Button className="mx-2" onClick={(e) => handleCopyConfig(e)}>
|
||||||
Copy Config
|
Copy Config
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
@ -90,7 +90,7 @@ export default function System() {
|
|||||||
{state.ffprobe != '' ? <p className="mb-2">{state.ffprobe}</p> : <ActivityIndicator />}
|
{state.ffprobe != '' ? <p className="mb-2">{state.ffprobe}</p> : <ActivityIndicator />}
|
||||||
</div>
|
</div>
|
||||||
<div className="p-2 flex justify-start flex-row-reverse space-x-2">
|
<div className="p-2 flex justify-start flex-row-reverse space-x-2">
|
||||||
(window.navigator.clipboard && (
|
(window.navigator.clipboard.writeText && (
|
||||||
<Button className="ml-2" onClick={() => onCopyFfprobe()} type="text">
|
<Button className="ml-2" onClick={() => onCopyFfprobe()} type="text">
|
||||||
Copy
|
Copy
|
||||||
</Button>
|
</Button>
|
||||||
@ -117,7 +117,7 @@ export default function System() {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="p-2 flex justify-start flex-row-reverse space-x-2 whitespace-pre-wrap">
|
<div className="p-2 flex justify-start flex-row-reverse space-x-2 whitespace-pre-wrap">
|
||||||
{window.navigator.clipboard && (
|
{window.navigator.clipboard.writeText && (
|
||||||
<Button className="ml-2" onClick={() => onCopyVainfo()} type="text">
|
<Button className="ml-2" onClick={() => onCopyVainfo()} type="text">
|
||||||
Copy
|
Copy
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user