replacing language injectable with computed property

This commit is contained in:
adisposkofh
2026-07-29 13:48:08 +02:00
parent 5d024b3a71
commit c5e296d557
+3 -1
View File
@@ -92,7 +92,6 @@ export const CoreFilterCmpt = {
default: true
},
},
inject: ["language"],
data: function() {
return {
uuid: 0,
@@ -240,6 +239,9 @@ export const CoreFilterCmpt = {
...{ title: filterTitles[el.name] },
}));
},
language() {
return this.$p.user_language;
},
},
watch: {
"language.value": {