5 <strong v-if="activity > 0" class="notif activity" title="Activity">
8 <strong v-if="warnings > 0" class="notif warnings" title="Warning">
11 <strong v-if="errors > 0" class="notif errors" title="Error">
17 title="Connection error to Radarr API, check url and apikey in config.yml"
26 import service from "@/mixins/service.js";
27 import Generic from "./Generic.vue";
46 created: function () {
50 fetchConfig: function () {
51 this.fetch(`/api/health?apikey=${this.item.apikey}`)
55 for (var i = 0; i < health.length; i++) {
56 if (health[i].type == "warning") {
58 } else if (health[i].type == "error") {
65 this.serverError = true;
67 this.fetch(`/api/queue?apikey=${this.item.apikey}`)
70 for (var i = 0; i < queue.length; i++) {
78 this.serverError = true;
85 <style scoped lang="scss">
89 font-family: sans-serif;
93 display: inline-block;
94 padding: 0.2em 0.35em;
95 border-radius: 0.25em;
100 background-color: #4fb5d6;
104 background-color: #d08d2e;
108 background-color: #e51111;