@live-change/vue3-components 0.8.148 → 0.9.0
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.
- package/logic/locale.js +2 -2
- package/package.json +3 -3
package/logic/locale.js
CHANGED
|
@@ -45,10 +45,10 @@ export class Locale {
|
|
|
45
45
|
async getOtherOwnerLocale(owner) {
|
|
46
46
|
if(this.localeObservable) this.localeObservable.unbindProperty(this.localeRef, 'value')
|
|
47
47
|
if(typeof window === 'undefined') {
|
|
48
|
-
const value = await this.api.get(this.api.views.localeSettings.
|
|
48
|
+
const value = await this.api.get(this.api.views.localeSettings.localeSettings(owner))
|
|
49
49
|
this.localeObservable = new ObservableValue(value)
|
|
50
50
|
} else {
|
|
51
|
-
this.localeObservable = this.api.observable(this.api.views.localeSettings.
|
|
51
|
+
this.localeObservable = this.api.observable(this.api.views.localeSettings.localeSettings(owner))
|
|
52
52
|
}
|
|
53
53
|
this.localeObservable.bindProperty(this.localeRef, 'value')
|
|
54
54
|
this.localeObservable.wait()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/vue3-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Live Change Framework - vue components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-stack",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/vue3-ssr": "^0.
|
|
24
|
+
"@live-change/vue3-ssr": "^0.9.0",
|
|
25
25
|
"debug": "^4.3.4",
|
|
26
26
|
"mitt": "3.0.1",
|
|
27
27
|
"vue": "^3.4.29"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "b82513f5b400afcc4b8cc3ae1f9dfe4ac3a2a6eb"
|
|
30
30
|
}
|