summaryrefslogtreecommitdiff
path: root/src/components/Global/LoadingBar.vue
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-24 00:56:34 +0300
committerEd Tanous <ed@tanous.net>2024-10-03 21:34:06 +0300
commit883a0d597962dfd30d6c48319b8b33e2d0f98606 (patch)
tree75e4af34a0921a87e4f3952843b2cb2cb4bfc5fd /src/components/Global/LoadingBar.vue
parent7d6b44cb263da09e575c7cb28cab88c1eb339c7b (diff)
downloadwebui-vue-883a0d597962dfd30d6c48319b8b33e2d0f98606.tar.xz
i18n, vue-router and vuex upgrade
1. Configuration of i18n legacy as false. 2. Translation function t is called using the useI18n. 3. Used the i18n.global.t() function from i18n instead of this.$t() 4. Event bus error that occurred during logout. 5. Implemented vue-router 4.4.0 and vuex upgrade to 4.1.0 Change-Id: I9464d82c76dcc1445ce271983ea3ab9d7b03d265 Signed-off-by: Surya Venkatesan <suryav@ami.com>
Diffstat (limited to 'src/components/Global/LoadingBar.vue')
-rw-r--r--src/components/Global/LoadingBar.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/Global/LoadingBar.vue b/src/components/Global/LoadingBar.vue
index 337aaf049..49f26116f 100644
--- a/src/components/Global/LoadingBar.vue
+++ b/src/components/Global/LoadingBar.vue
@@ -12,9 +12,11 @@
</template>
<script>
+import { useI18n } from 'vue-i18n';
export default {
data() {
return {
+ $t: useI18n().t,
loadingIndicatorValue: 0,
isLoadingComplete: false,
loadingIntervalId: null,