summaryrefslogtreecommitdiffstats
path: root/webapp/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/main.js')
-rw-r--r--webapp/src/main.js19
1 files changed, 2 insertions, 17 deletions
diff --git a/webapp/src/main.js b/webapp/src/main.js
index bd7d9ec..e62029f 100644
--- a/webapp/src/main.js
+++ b/webapp/src/main.js
@@ -136,25 +136,10 @@ new Vue({
router,
i18n,
computed: {
- locale: () => store.state.settings.locale,
- noAnimations: () => store.state.settings.noAnimations
+ locale: () => store.state.settings.locale
},
watch: {
- locale: v => { i18n.locale = v },
- noAnimations: {
- immediate: true,
- handler (value) {
- if (value) {
- Vue.component('transition', {
- render () {
- return this.$slots.default
- }
- })
- } else {
- delete Vue.options.components['transition']
- }
- }
- }
+ locale: v => { i18n.locale = v }
},
template: '<router-view/>'
}).$mount('#app')