From 0a8acb654e8c040c8e67c6df41d85cf93b56df29 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sun, 9 Feb 2020 13:39:44 +0100 Subject: [PATCH] React UI: Use null value for determining consoles link display (#6790) Signed-off-by: Julius Volz --- web/ui/react-app/public/index.html | 4 ++-- web/ui/react-app/src/Navbar.test.tsx | 2 +- web/ui/react-app/src/Navbar.tsx | 4 ++-- web/ui/react-app/src/index.tsx | 5 +++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/web/ui/react-app/public/index.html b/web/ui/react-app/public/index.html index e5943537b4..5ecd832b49 100755 --- a/web/ui/react-app/public/index.html +++ b/web/ui/react-app/public/index.html @@ -15,8 +15,8 @@ to Prometheus, both for asset loading as well as API accesses. The GLOBAL_CONSOLES_LINK placeholder magic value is replaced during serving by Prometheus - and set to the consoles link if it exists. It will render a "Consoles" link in the navbar when - it is non-empty. + and set to the consoles link if it exists. It will render a "Consoles" link in the navbar when + it is non-empty. -->