Commit f75efd3c by Johannes Edmeier

Fix broken warning when connection to backend lost in navbar

parent 52ab46b2
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<template> <template>
<span> <span>
<span class="has-text-warning" v-if="connectionFailed"> <span class="has-text-warning" v-if="error">
<font-awesome-icon icon="exclamation-triangle"/> <font-awesome-icon icon="exclamation-triangle"/>
</span> </span>
<span :class="{ 'badge is-badge-danger' : downCount > 0 }" :data-badge="downCount"> <span :class="{ 'badge is-badge-danger' : downCount > 0 }" :data-badge="downCount">
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
export default { export default {
computed: { computed: {
connectionFailed() { error() {
return this.$root.connectionFailed; return this.$root.error;
}, },
downCount() { downCount() {
return this.$root.applications.reduce((current, next) => { 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