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"]), },