mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 10:33:11 +03:00
add activity indicator and scrollbar tweaks
This commit is contained in:
parent
d05145d62a
commit
b7ee094246
@ -749,6 +749,10 @@ export function ConfigSection({
|
||||
? t(`${sectionPath}.description`, { ns: configNamespace })
|
||||
: undefined;
|
||||
|
||||
if (!sectionSchema || !config) {
|
||||
return <ActivityIndicator />;
|
||||
}
|
||||
|
||||
const sectionContent = (
|
||||
<div className="space-y-6">
|
||||
<ConfigForm
|
||||
|
||||
@ -93,6 +93,7 @@ export function ObjectLabelSwitchesWidget(props: WidgetProps) {
|
||||
getEntities: getObjectLabels,
|
||||
getDisplayLabel: getObjectLabelDisplayName,
|
||||
i18nKey: "objectLabels",
|
||||
listClassName: "max-h-64 overflow-y-auto scrollbar-container",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
@ -42,6 +42,7 @@ export function ZoneSwitchesWidget(props: WidgetProps) {
|
||||
getEntities: getZoneNames,
|
||||
getDisplayLabel: getZoneDisplayName,
|
||||
i18nKey: "zoneNames",
|
||||
listClassName: "max-h-64 overflow-y-auto scrollbar-container",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user