From c5e296d557c411f0d84d2ba35005a8f395ecbe90 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Wed, 29 Jul 2026 13:48:08 +0200 Subject: [PATCH] replacing language injectable with computed property --- public/js/components/filter/Filter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/components/filter/Filter.js b/public/js/components/filter/Filter.js index 3d44b51da..229acd607 100644 --- a/public/js/components/filter/Filter.js +++ b/public/js/components/filter/Filter.js @@ -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": {