mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
add loading indicator
This commit is contained in:
parent
b78033702f
commit
c462f4d89f
@ -42,6 +42,7 @@ import {
|
||||
CommandList,
|
||||
} from "@/components/ui/command";
|
||||
import { LuCheck } from "react-icons/lu";
|
||||
import ActivityIndicator from "@/components/indicators/activity-indicator";
|
||||
|
||||
type SearchFilterDialogProps = {
|
||||
config?: FrigateConfig;
|
||||
@ -947,7 +948,8 @@ export function RecognizedLicensePlatesFilterContent({
|
||||
<DropdownMenuSeparator className="mb-3" />
|
||||
<div className="mb-3 text-lg">{t("recognizedLicensePlates.title")}</div>
|
||||
{allRecognizedLicensePlates == undefined ? (
|
||||
<p className="text-sm text-muted-foreground">
|
||||
<p className="flex items-center text-sm text-muted-foreground">
|
||||
<ActivityIndicator className="mr-2 size-5" />
|
||||
{t("recognizedLicensePlates.loading")}
|
||||
</p>
|
||||
) : allRecognizedLicensePlates.length === 0 ? null : (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user