tiny grammar fix for Frigate+ buttons

This commit is contained in:
Mark Ormesher 2024-10-31 21:32:08 +00:00
parent 89ca085b94
commit 12550e8ac6
No known key found for this signature in database
GPG Key ID: DE308192D728C145
2 changed files with 4 additions and 4 deletions

View File

@ -655,7 +655,7 @@ function ObjectSnapshotTab({
onSubmitToPlus(false);
}}
>
This is a {search?.label}
This is {search?.label?.startsWith("a") ? "an" : "a"} {search?.label}
</Button>
<Button
className="text-white"
@ -666,7 +666,7 @@ function ObjectSnapshotTab({
onSubmitToPlus(true);
}}
>
This is not a {search?.label}
This is not {search?.label?.startsWith("a") ? "an" : "a"} {search?.label}
</Button>
</>
)}

View File

@ -144,7 +144,7 @@ export function FrigatePlusDialog({
onSubmitToPlus(false);
}}
>
This is a {upload?.label}
This is {upload?.label?.startsWith("a") ? "an" : "a"} {upload?.label}
</Button>
<Button
className="text-white"
@ -155,7 +155,7 @@ export function FrigatePlusDialog({
onSubmitToPlus(true);
}}
>
This is not a {upload?.label}
This is not {upload?.label?.startsWith("a") ? "an" : "a"} {upload?.label}
</Button>
</>
)}