Skip to content

Commit

Permalink
Correct Zone update success/fail message wording
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMicroNova committed Jan 10, 2025
1 parent 0829a59 commit f9a577a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/pages/Settings/Zones/Zones.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit f9a577a

Please sign in to comment.