* Show activity indicator when search grid is revalidating

* improve frigate+ button title grammar
This commit is contained in:
Josh Hawkins
2024-11-01 07:37:52 -05:00
committed by GitHub
parent 9e1a50c3be
commit 8c2c07fd18
4 changed files with 15 additions and 8 deletions

View File

@@ -655,7 +655,9 @@ function ObjectSnapshotTab({
onSubmitToPlus(false);
}}
>
This is a {search?.label}
This is{" "}
{/^[aeiou]/i.test(search?.label || "") ? "an" : "a"}{" "}
{search?.label}
</Button>
<Button
className="text-white"
@@ -666,7 +668,9 @@ function ObjectSnapshotTab({
onSubmitToPlus(true);
}}
>
This is not a {search?.label}
This is not{" "}
{/^[aeiou]/i.test(search?.label || "") ? "an" : "a"}{" "}
{search?.label}
</Button>
</>
)}

View File

@@ -144,7 +144,8 @@ export function FrigatePlusDialog({
onSubmitToPlus(false);
}}
>
This is a {upload?.label}
This is {/^[aeiou]/i.test(upload?.label || "") ? "an" : "a"}{" "}
{upload?.label}
</Button>
<Button
className="text-white"
@@ -155,7 +156,8 @@ export function FrigatePlusDialog({
onSubmitToPlus(true);
}}
>
This is not a {upload?.label}
This is not {/^[aeiou]/i.test(upload?.label || "") ? "an" : "a"}{" "}
{upload?.label}
</Button>
</>
)}