mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-14 16:01:13 +03:00
fix: fix code
This commit is contained in:
parent
893d9da3f3
commit
a3b86611fb
@ -75,10 +75,10 @@ export function ReplaceRulesField(props: FieldProps) {
|
|||||||
(schema as RJSFSchema).description;
|
(schema as RJSFSchema).description;
|
||||||
const patternTitle =
|
const patternTitle =
|
||||||
t(`${sectionPrefix}.${id}.pattern.label`) ??
|
t(`${sectionPrefix}.${id}.pattern.label`) ??
|
||||||
getPropertyTitle(itemSchema, "pattern", t);
|
getPropertyTitle(itemSchema, "pattern");
|
||||||
const replacementTitle =
|
const replacementTitle =
|
||||||
t(`${sectionPrefix}.${id}.replacement.label`) ??
|
t(`${sectionPrefix}.${id}.replacement.label`) ??
|
||||||
getPropertyTitle(itemSchema, "replacement", t);
|
getPropertyTitle(itemSchema, "replacement");
|
||||||
|
|
||||||
const hasItems = rules.length > 0;
|
const hasItems = rules.length > 0;
|
||||||
const emptyPath = useMemo(() => [] as FieldPathList, []);
|
const emptyPath = useMemo(() => [] as FieldPathList, []);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user