diff options
author | Galen Guyer <galen@galenguyer.com> | 2022-08-31 21:31:03 -0400 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2022-08-31 21:31:03 -0400 |
commit | 41cea7510522824c8e18b49f6d201951887fdf0a (patch) | |
tree | 6ceeb0fca7001124313d78e8db855262db3508cb | |
parent | e37a457aea37339f26004f80723f21345a277332 (diff) |
Navigate to right page on zone creation
-rw-r--r-- | src/routes/Zones.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/Zones.js b/src/routes/Zones.js index 338e0ec..89a9e98 100644 --- a/src/routes/Zones.js +++ b/src/routes/Zones.js @@ -104,7 +104,7 @@ function CreateZoneModal({ showZoneCreateModal, setShowZoneCreateModal }) { }).then((res) => { if (res.status === 200) { setShowZoneCreateModal(false) - navigate(`/zones/${zoneName}`) + navigate(`/zones/${zoneName}` + (zoneName.endsWith('.') ? '' : '.')) } else { res .json() |