aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/App.vue3
-rw-r--r--src/components/services/Tautulli.vue6
-rw-r--r--src/components/services/UptimeKuma.vue4
3 files changed, 9 insertions, 4 deletions
diff --git a/src/App.vue b/src/App.vue
index a60c242..664867f 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -258,7 +258,8 @@ export default {
258 return ( 258 return (
259 item.name.toLowerCase().includes(this.filter) || 259 item.name.toLowerCase().includes(this.filter) ||
260 (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) || 260 (item.subtitle && item.subtitle.toLowerCase().includes(this.filter)) ||
261 (item.tag && item.tag.toLowerCase().includes(this.filter)) 261 (item.tag && item.tag.toLowerCase().includes(this.filter)) ||
262 (item.keywords && item.keywords.toLowerCase().includes(this.filter))
262 ); 263 );
263 }, 264 },
264 navigateToFirstService: function (target) { 265 navigateToFirstService: function (target) {
diff --git a/src/components/services/Tautulli.vue b/src/components/services/Tautulli.vue
index 2e8f8f5..0f27ff1 100644
--- a/src/components/services/Tautulli.vue
+++ b/src/components/services/Tautulli.vue
@@ -50,14 +50,16 @@ export default {
50 methods: { 50 methods: {
51 fetchStatus: async function () { 51 fetchStatus: async function () {
52 try { 52 try {
53 const response = await this.fetch(`/api/v2?apikey=${this.item.apikey}&cmd=get_activity`); 53 const response = await this.fetch(
54 `/api/v2?apikey=${this.item.apikey}&cmd=get_activity`
55 );
54 this.error = false; 56 this.error = false;
55 this.stats = response.response.data; 57 this.stats = response.response.data;
56 } catch (e) { 58 } catch (e) {
57 this.error = true; 59 this.error = true;
58 console.error(e); 60 console.error(e);
59 } 61 }
60 } 62 },
61 }, 63 },
62}; 64};
63</script> 65</script>
diff --git a/src/components/services/UptimeKuma.vue b/src/components/services/UptimeKuma.vue
index 5dd75f3..3be53b8 100644
--- a/src/components/services/UptimeKuma.vue
+++ b/src/components/services/UptimeKuma.vue
@@ -108,7 +108,9 @@ export default {
108 .catch((e) => console.error(e)) 108 .catch((e) => console.error(e))
109 .then((resp) => (this.incident = resp)); 109 .then((resp) => (this.incident = resp));
110 110
111 this.fetch(`/api/status-page/heartbeat/${this.dashboard}?cachebust=${Date.now()}`) 111 this.fetch(
112 `/api/status-page/heartbeat/${this.dashboard}?cachebust=${Date.now()}`
113 )
112 .catch((e) => console.error(e)) 114 .catch((e) => console.error(e))
113 .then((resp) => (this.heartbeat = resp)); 115 .then((resp) => (this.heartbeat = resp));
114 }, 116 },