mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-07 22:05:44 +03:00
fix: remove the toast name for zones will use the friendly_name instead
This commit is contained in:
parent
54f228fb6f
commit
ca901f492f
@ -179,7 +179,7 @@ export default function PolygonItem({
|
|||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
toast.success(
|
toast.success(
|
||||||
t("masksAndZones.form.polygonDrawing.delete.success", {
|
t("masksAndZones.form.polygonDrawing.delete.success", {
|
||||||
name: polygon?.name,
|
name: polygon?.friendly_name ?? polygon?.name,
|
||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
position: "top-center",
|
position: "top-center",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user