@thefittingroom/shop-ui 1.2.3 → 1.2.4
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/dist/esm/index.js +5 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +3 -3
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v1.2.
|
|
2
|
+
* thefittingroom v1.2.4 (2024-06-20T18:21:11.579Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
function loadImageRecursive(imageURL, imageURLs) {
|
|
@@ -47,7 +47,7 @@ const InitImageSlider = (sliderID, onChange) => {
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/*!
|
|
50
|
-
* thefittingroom v1.1.
|
|
50
|
+
* thefittingroom v1.1.11 (2024-06-20T18:20:57.355Z)
|
|
51
51
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
52
52
|
*/
|
|
53
53
|
|
|
@@ -23011,7 +23011,9 @@ class TfrShop {
|
|
|
23011
23011
|
}
|
|
23012
23012
|
async getStyleByBrandStyleId(brandStyleId) {
|
|
23013
23013
|
try {
|
|
23014
|
-
const
|
|
23014
|
+
const constraints = [rl('brand_id', '==', this.brandId)];
|
|
23015
|
+
constraints.push(rl('brand_style_id', '==', brandStyleId));
|
|
23016
|
+
const querySnapshot = await this.firebase.getDocs('styles', constraints);
|
|
23015
23017
|
return querySnapshot.docs[0].data();
|
|
23016
23018
|
}
|
|
23017
23019
|
catch (error) {
|