bfg-common 1.4.744 → 1.4.745

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.
@@ -19,7 +19,9 @@ const locals = {
19
19
  export const useLocal = (): UI_I_Localization => {
20
20
  const config = useRuntimeConfig()
21
21
 
22
- const code: string = config?.public?.LOCALIZATION_CODE?.toLowerCase() || 'ru'
22
+ let code: string = config?.public?.LOCALIZATION_CODE?.toLowerCase() || 'ru'
23
+
24
+ if (code === 'ar' && !useLocalStorage('rtl')) code = 'ru'
23
25
 
24
26
  document.getElementsByTagName('html')[0].setAttribute('lang', code)
25
27
 
@@ -1,4 +1,4 @@
1
- const lastTimestamp = 1739185762963
1
+ const lastTimestamp = 1740651960445
2
2
 
3
3
  export const useLocalStorage = (
4
4
  name: string,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.744",
4
+ "version": "1.4.745",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",