@nuskin/product-components 3.18.0-td-341.1 → 3.18.0-td-341.2
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.
|
@@ -48,10 +48,8 @@
|
|
|
48
48
|
import { NsExpressiveLink, NsIcon, NsSpinner } from "@nuskin/design-components";
|
|
49
49
|
import { StringService, csStringService } from "@nuskin/ns-util";
|
|
50
50
|
import { fromJsonString } from "@nuskin/ns-common-lib";
|
|
51
|
-
import { getConfiguration } from "@nuskin/configuration-sdk";
|
|
52
51
|
|
|
53
52
|
import NsProductCard from "./NsProductCard.vue";
|
|
54
|
-
import { isEnabled } from "@nuskin/ns-feature-flags";
|
|
55
53
|
|
|
56
54
|
/**
|
|
57
55
|
* NsProductList
|
|
@@ -192,20 +190,8 @@ export default {
|
|
|
192
190
|
await this.$nextTick();
|
|
193
191
|
|
|
194
192
|
try {
|
|
195
|
-
const configs = await getConfiguration(["Mysite"]);
|
|
196
|
-
let useCSResources = false;
|
|
197
|
-
if (
|
|
198
|
-
configs &&
|
|
199
|
-
configs.Mysite &&
|
|
200
|
-
configs.Mysite.useCSResources &&
|
|
201
|
-
Array.isArray(configs.Mysite.useCSResources)
|
|
202
|
-
) {
|
|
203
|
-
useCSResources = configs.Mysite.useCSResources.includes(
|
|
204
|
-
this.runConfig.country
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
193
|
let commonStrings = {};
|
|
208
|
-
if (useCSResources
|
|
194
|
+
if (this.$NsProductAppService.useCSResources) {
|
|
209
195
|
commonStrings = await csStringService.getStrings(commonStringKeys);
|
|
210
196
|
} else {
|
|
211
197
|
commonStrings = await StringService.getStrings(commonStringKeys);
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# [3.18.0-td-341.
|
|
1
|
+
# [3.18.0-td-341.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.0-td-341.1...v3.18.0-td-341.2) (2024-10-25)
|