From 07277602de4faea72ec4ec8920c33449e8ee40db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 12 Sep 2022 22:18:21 +0000 Subject: [PATCH] "Vue" capitalization --- ui/src/plugins/axios.ts | 6 +++--- ui/src/plugins/ovdashboard.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/plugins/axios.ts b/ui/src/plugins/axios.ts index d6d5632..146637d 100644 --- a/ui/src/plugins/axios.ts +++ b/ui/src/plugins/axios.ts @@ -1,8 +1,8 @@ import axios from 'axios'; -import _Vue from 'vue'; +import Vue from 'vue'; class AxiosPlugin { - public install(Vue: typeof _Vue) { + public install(vue: typeof Vue) { // Full config: https://github.com/axios/axios#request-config // axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || ''; // axios.defaults.headers.common['Authorization'] = AUTH_TOKEN; @@ -39,7 +39,7 @@ class AxiosPlugin { } ); - Vue.prototype.$axios = _axios; + vue.prototype.$axios = _axios; } } diff --git a/ui/src/plugins/ovdashboard.ts b/ui/src/plugins/ovdashboard.ts index 9bf4b08..86c03a9 100644 --- a/ui/src/plugins/ovdashboard.ts +++ b/ui/src/plugins/ovdashboard.ts @@ -1,8 +1,8 @@ -import _Vue from 'vue'; +import Vue from 'vue'; class OVDashboardPlugin { - public install(Vue: typeof _Vue) { - Vue.prototype.$ovdashboard = this; + public install(vue: typeof Vue) { + vue.prototype.$ovdashboard = this; } private get api_baseurl(): string {