@social-mail/social-mail-client 1.2.236 → 1.2.237

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.236",
3
+ "version": "1.2.237",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -156,7 +156,7 @@ export default class ChooseWebSiteTemplatePage extends PopupWindowPage {
156
156
  modified = true;
157
157
  // upload all styles...
158
158
  const path = href.split("#")[0].split("?")[0];
159
- const name = href.split("/").pop();
159
+ const name = path.split("/").pop();
160
160
  const style = await this.upload(void 0, name, "styles", void 0, href);
161
161
  iterator.setAttribute("href", `/api/site/asset/download/${this.parameters.appFileID}/${style.appFileID}/${style.fileContentID}/${name}`);
162
162
  }