From 5d6f57292fd37578c51f3d2cddd5f9d9c2695718 Mon Sep 17 00:00:00 2001 From: Avery Lee Date: Thu, 21 Sep 2023 12:01:42 -0700 Subject: [PATCH] Fixes lint errors. --- src/dispatch/static/dispatch/src/case/ResourcesTab.vue | 2 +- src/dispatch/static/dispatch/src/incident/ResourcesTab.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/ResourcesTab.vue b/src/dispatch/static/dispatch/src/case/ResourcesTab.vue index 604c5dbb9465..45fb22fb42cd 100644 --- a/src/dispatch/static/dispatch/src/case/ResourcesTab.vue +++ b/src/dispatch/static/dispatch/src/case/ResourcesTab.vue @@ -130,7 +130,7 @@ export default { ]), }, - async mounted() { + async mounted() { let enabledPlugins = await this.getEnabledPlugins() this.ticketPluginEnabled = enabledPlugins.includes("ticket") diff --git a/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue b/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue index 014ae8415e42..3b28a0ead0d4 100644 --- a/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue +++ b/src/dispatch/static/dispatch/src/incident/ResourcesTab.vue @@ -126,7 +126,7 @@ export default { ]), }, - async mounted() { + async mounted() { let enabledPlugins = await this.getEnabledPlugins() this.ticketPluginEnabled = enabledPlugins.includes("ticket") @@ -136,7 +136,6 @@ export default { this.documentPluginEnabled = enabledPlugins.includes("document") }, - methods: { ...mapActions("incident", ["createAllResources", "getEnabledPlugins"]), },