5 <strong v-if="warnings > 0" class="notif warnings" title="Warning">
8 <strong v-if="errors > 0" class="notif errors" title="Error">
14 title="Connection error to Prowlarr API, check url and apikey in config.yml"
24 import service from "@/mixins/service.js"
25 import Generic from "./Generic.vue"
43 created: function () {
47 fetchConfig: function () {
48 this.fetch(`/api/v1/health?apikey=${this.item.apikey}`)
52 for (var i = 0; i < health.length; i++) {
53 if (health[i].type == "warning") {
55 } else if (health[i].type == "error") {
62 this.serverError = true
69 <style scoped lang="scss">
73 font-family: sans-serif;
78 display: inline-block;
79 padding: 0.2em 0.35em;
80 border-radius: 0.25em;
86 background-color: #d08d2e;
90 background-color: #e51111;