From 6f228171f022c6a9f5d06fc03f3bb9053f60f110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Fri, 16 Sep 2022 22:58:03 +0000 Subject: [PATCH] don't install $axios --- ui/src/d.ts/shims-ovdashboard.d.ts | 2 -- ui/src/plugins/ovdashboard.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/ui/src/d.ts/shims-ovdashboard.d.ts b/ui/src/d.ts/shims-ovdashboard.d.ts index 40994d2..99bfd4f 100644 --- a/ui/src/d.ts/shims-ovdashboard.d.ts +++ b/ui/src/d.ts/shims-ovdashboard.d.ts @@ -1,9 +1,7 @@ import { OVDashboardPlugin } from "@/plugins/ovdashboard"; -import { AxiosInstance } from "axios"; declare module 'vue/types/vue' { interface Vue { - $axios: AxiosInstance; $ovdashboard: OVDashboardPlugin; } } diff --git a/ui/src/plugins/ovdashboard.ts b/ui/src/plugins/ovdashboard.ts index 5bac2c7..7b10886 100644 --- a/ui/src/plugins/ovdashboard.ts +++ b/ui/src/plugins/ovdashboard.ts @@ -20,7 +20,6 @@ export class OVDashboardPlugin { } public install(vue: typeof Vue) { - vue.prototype.$axios = this.axios; vue.prototype.$ovdashboard = this; }