8 :title="`${queue} items queued`"
15 :title="`${errored} items`"
21 class="notif error fa-solid fa-triangle-exclamation"
22 title="Unable to fetch current status"
30 import service from "@/mixins/service.js";
31 import Generic from "./Generic.vue";
51 return this.stats.table1Count;
53 errored: function () {
57 return this.stats.table6Count;
61 const checkInterval = parseInt(this.item.checkInterval, 10) || 0;
62 if (checkInterval > 0) {
63 setInterval(() => this.fetchStatus(), checkInterval);
69 fetchStatus: async function () {
74 "Content-Type": "application/json",
75 "Accept": "application/json",
77 body: JSON.stringify({"headers":{"content-Type":"application/json"},"data":{"collection":"StatisticsJSONDB","mode":"getById","docID":"statistics","obj":{}},"timeout":1000}),
79 const response = await this.fetch(
84 this.stats = response;
94 <style scoped lang="scss">
98 font-family: sans-serif;
103 display: inline-block;
104 padding: 0.2em 0.35em;
105 border-radius: 0.25em;
111 background-color: #28a9a3;
115 background-color: #e51111;
121 background-color: #e51111;