From 3171b8d559a42c6b9eef1bf024b23546f0874f1f Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 17 Feb 2021 20:58:47 -0800 Subject: [PATCH] Show correct server suspended image; closes #3092 --- resources/scripts/routers/ServerRouter.tsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/scripts/routers/ServerRouter.tsx b/resources/scripts/routers/ServerRouter.tsx index f62c9c9fe..a1fff7939 100644 --- a/resources/scripts/routers/ServerRouter.tsx +++ b/resources/scripts/routers/ServerRouter.tsx @@ -31,6 +31,7 @@ import { faExternalLinkAlt } from '@fortawesome/free-solid-svg-icons'; import RequireServerPermission from '@/hoc/RequireServerPermission'; import ServerInstallSvg from '@/assets/images/server_installing.svg'; import ServerRestoreSvg from '@/assets/images/server_restore.svg'; +import ServerErrorSvg from '@/assets/images/server_error.svg'; const ConflictStateRenderer = () => { const status = ServerContext.useStoreState(state => state.server.data?.status || null); @@ -44,11 +45,18 @@ const ConflictStateRenderer = () => { message={'Your server should be ready soon, please try again in a few minutes.'} /> : - + status === 'suspended' ? + + : + ); };