mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
replacing language injectable with computed property
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user