Commit f75efd3c by Johannes Edmeier

Fix broken warning when connection to backend lost in navbar

parent 52ab46b2
......@@ -16,7 +16,7 @@
<template>
<span>
<span class="has-text-warning" v-if="connectionFailed">
<span class="has-text-warning" v-if="error">
<font-awesome-icon icon="exclamation-triangle"/>
</span>
<span :class="{ 'badge is-badge-danger' : downCount > 0 }" :data-badge="downCount">
......@@ -31,8 +31,8 @@
export default {
computed: {
connectionFailed() {
return this.$root.connectionFailed;
error() {
return this.$root.error;
},
downCount() {
return this.$root.applications.reduce((current, next) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment