|
@@ -20,6 +20,7 @@ export const langHelper = {
|
|
|
},
|
|
|
|
|
|
transformObject<T extends Record<string, any>>(obj: T, currentLang: string): T {
|
|
|
+ if (typeof obj === 'number') { return obj }
|
|
|
const result = { ...obj }
|
|
|
for (const key in result) {
|
|
|
if(Array.isArray(result[key])) {
|