From cb37b4451c2db0b2f8bd90037fd16ebaed54b6bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 28 May 2024 14:55:49 +0100 Subject: [PATCH] fix: PR comments --- .../FlowEditor/components/Settings/ServiceSettings.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Settings/ServiceSettings.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Settings/ServiceSettings.tsx index 4c9c64dcf3..849c5a9b91 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Settings/ServiceSettings.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Settings/ServiceSettings.tsx @@ -250,11 +250,13 @@ const ServiceSettings: React.FC = () => { statusForm.setFieldValue( "status", - statusForm.values.status == "online" ? "offline" : "online", + statusForm.values.status === "online" + ? "offline" + : "online", ) } /> @@ -267,6 +269,9 @@ const ServiceSettings: React.FC = () => { A service must be online to be accessed by the public, and to enable analytics gathering. + + Offline services can still be edited and published as normal. +