@dative-gpi/foundation-shared-components 1.0.130 → 1.0.131-fix-trtf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,15 @@ export default defineComponent({
134
134
  setup(props, { emit }) {
135
135
  const { languages } = useAppLanguages();
136
136
 
137
- const innerTranslations = ref(props.translations);
137
+ const innerTranslations = ref(props.translations.map((tranlation) => {
138
+ if(typeof tranlation[props.property] === 'string'){
139
+ return tranlation;
140
+ }
141
+ return {
142
+ ...tranlation,
143
+ [props.property]: JSON.stringify(tranlation[props.property])
144
+ }
145
+ }));
138
146
 
139
147
  const getTranslation = (languageCode: string): string | object => {
140
148
  if (!innerTranslations.value) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-shared-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.130",
4
+ "version": "1.0.131-fix-trtf",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,8 +10,8 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-shared-domain": "1.0.130",
14
- "@dative-gpi/foundation-shared-services": "1.0.130"
13
+ "@dative-gpi/foundation-shared-domain": "1.0.131-fix-trtf",
14
+ "@dative-gpi/foundation-shared-services": "1.0.131-fix-trtf"
15
15
  },
16
16
  "peerDependencies": {
17
17
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -35,5 +35,5 @@
35
35
  "sass": "1.71.1",
36
36
  "sass-loader": "13.3.2"
37
37
  },
38
- "gitHead": "fc680c25f1b54df6a7c9195343556c0c93f1454d"
38
+ "gitHead": "fd7d416983cc298660ad9ae9f7c564d140e7c4f7"
39
39
  }