diff --git a/frontend/src/components/settings/Languages.vue b/frontend/src/components/settings/Languages.vue index ad11a60a..39c699e8 100644 --- a/frontend/src/components/settings/Languages.vue +++ b/frontend/src/components/settings/Languages.vue @@ -10,7 +10,7 @@ export default { name: 'languages', props: [ 'locale' ], data() { - return { + let dataObj = { locales: { ar: 'ar', de: 'de', @@ -32,6 +32,10 @@ export default { 'zh-tw': 'zhTW' } }; + + Object.defineProperty(dataObj, "locales", { configurable: false, writable: false }); + + return dataObj; }, methods: { change (event) {