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(`/api/v2?apikey=${this.item.apikey}&cmd=get_activity`);
55 this.stats = response.response.data;
65 <style scoped lang="scss">
69 font-family: sans-serif;
74 display: inline-block;
75 padding: 0.2em 0.35em;
76 border-radius: 0.25em;
82 background-color: #28a9a3;
88 background-color: #e51111;