From f9a577ad1dd54b9b3ce25b885fb5e1868b8a7ee1 Mon Sep 17 00:00:00 2001 From: Steven Engelbert Date: Fri, 10 Jan 2025 11:08:56 -0500 Subject: [PATCH] Correct Zone update success/fail message wording --- web/src/pages/Settings/Zones/Zones.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/pages/Settings/Zones/Zones.jsx b/web/src/pages/Settings/Zones/Zones.jsx index fe8379d7d..1cd30da77 100644 --- a/web/src/pages/Settings/Zones/Zones.jsx +++ b/web/src/pages/Settings/Zones/Zones.jsx @@ -42,11 +42,11 @@ const ZoneListItem = ({ zone }) => { }), }).then(resp => { if(resp.ok){ - setAlertText(`Zone ${zone.id} updated successfully!`); + setAlertText(`${name} (ID: ${zone.id}) updated successfully!`); setAlertSuccess(true); setAlertOpen(true); } else { - setAlertText(`Zone ${zone.id} update failed...`); + setAlertText(`${name} (ID: ${zone.id}) update failed...`); setAlertSuccess(false); setAlertOpen(true); }