diff --git a/priv/frontend/src/components/App.js b/priv/frontend/src/components/App.js index 24462bb..79dce85 100644 --- a/priv/frontend/src/components/App.js +++ b/priv/frontend/src/components/App.js @@ -185,13 +185,10 @@ export default class App extends Component { )) - let notice = null const down = allServices.filter(([, { status }]) => !status) - - if (down.length !== 0) { - // a service is down :( - notice = - } + const notice = down.length > 0 + ? + : null metrics = (