From 293ebc9344caff104542bd2e5b04939bbe2db85c Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 22 Dec 2019 15:31:12 -0800 Subject: [PATCH] Show note when no servers. --- .../scripts/components/dashboard/DashboardContainer.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/scripts/components/dashboard/DashboardContainer.tsx b/resources/scripts/components/dashboard/DashboardContainer.tsx index 3440aed4c..46ef66ebc 100644 --- a/resources/scripts/components/dashboard/DashboardContainer.tsx +++ b/resources/scripts/components/dashboard/DashboardContainer.tsx @@ -19,10 +19,14 @@ export default () => { return (
- { + {servers.length === 0 ? servers.map(server => ( )) + : +

+ It looks like you have no servers. +

}
);