mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 23:25:25 +03:00
replace underscore in filter type
This commit is contained in:
parent
73b76ad7a2
commit
c106787251
@ -589,7 +589,8 @@ export default function InputWithTags({
|
|||||||
key={`${filterType}-${index}`}
|
key={`${filterType}-${index}`}
|
||||||
className="inline-flex items-center whitespace-nowrap rounded-full bg-green-100 px-2 py-0.5 text-sm capitalize text-green-800"
|
className="inline-flex items-center whitespace-nowrap rounded-full bg-green-100 px-2 py-0.5 text-sm capitalize text-green-800"
|
||||||
>
|
>
|
||||||
{filterType}: {value.replaceAll("_", " ")}
|
{filterType.replaceAll("_", " ")}:{" "}
|
||||||
|
{value.replaceAll("_", " ")}
|
||||||
<button
|
<button
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
removeFilter(filterType as FilterType, value)
|
removeFilter(filterType as FilterType, value)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user