@social-mail/social-mail-client 1.2.331 → 1.2.332

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.331",
3
+ "version": "1.2.332",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@ import ToggleButtonBar from "@web-atoms/web-controls/dist/basic/ToggleButtonBar"
17
17
  const url = (window as any).pageUrl as URL;
18
18
 
19
19
 
20
- let {1: storeID = "4", 2: itemID = "1w" } = /^\/store\/([^\/]+)\/([^\/]+)\//.exec(url?.pathname) ?? {} as any;
20
+ let {1: storeID = "4", 2: itemID = "23" } = /^\/store\/([^\/]+)\/([^\/]+)\//.exec(url?.pathname) ?? {} as any;
21
21
 
22
22
  storeID = parseInt(storeID, 36);
23
23
  itemID = parseInt(itemID, 36);
@@ -53,6 +53,7 @@ const css = styled.css `
53
53
  display: flex;
54
54
  flex-direction: column;
55
55
  overflow: auto;
56
+ max-height: 500px;
56
57
  & > img {
57
58
  cursor: pointer;
58
59
  margin: 5px;
@@ -118,9 +119,6 @@ export default class StoreItemDetailView extends AtomControl {
118
119
 
119
120
  this.model = await this.getItem();
120
121
 
121
- const images = this.model.mediaFiles.where((x) => x.isPreview);
122
- this.selectedFile = images[0];
123
-
124
122
  const offer = this.model.mediaFiles.find((x) => x.title === "offer.html");
125
123
  const specifications = this.model.mediaFiles.find((x) => x.title === "specs.html");
126
124