8 :title="`${streams} active stream${streams > 1 ? 's' : ''}`"
14 class="notif error fa-solid fa-triangle-exclamation"
15 title="Unable to fetch current status"
23 import service from "@/mixins/service.js";
24 import Generic from "./Generic.vue";
40 streams: function () {
44 return this.stats.stream_count;
51 fetchStatus: async function () {
53 const response = await this.fetch(
54 `/api/v2?apikey=${this.item.apikey}&cmd=get_activity`
57 this.stats = response.response.data;
67 <style scoped lang="scss">
71 font-family: sans-serif;
76 display: inline-block;
77 padding: 0.2em 0.35em;
78 border-radius: 0.25em;
84 background-color: #28a9a3;
90 background-color: #e51111;