@paperbits/common
Advanced tools
Comparing version 0.1.611 to 0.1.612
{ | ||
"name": "@paperbits/common", | ||
"version": "0.1.611", | ||
"version": "0.1.612", | ||
"description": "Paperbits common components.", | ||
@@ -5,0 +5,0 @@ "author": "Paperbits", |
@@ -158,3 +158,3 @@ import * as Utils from "../utils"; | ||
public async copyPopup(key: string): Promise<PopupContract> { | ||
const originalPage = await this.objectStorage.getObject<PopupLocalizedContract>(key); | ||
const originalPopup = await this.objectStorage.getObject<PopupLocalizedContract>(key); | ||
const identifier = Utils.guid(); | ||
@@ -168,6 +168,6 @@ const targetKey = `${popupsPath}/${identifier}`; | ||
const sourceLocales = Object.keys(originalPage.locales); | ||
const sourceLocales = Object.keys(originalPopup.locales); | ||
for (const locale of sourceLocales) { | ||
const sourceMetadata = originalPage.locales[locale]; | ||
const sourceMetadata = originalPopup.locales[locale]; | ||
const sourceContentKey = sourceMetadata.contentKey; | ||
@@ -174,0 +174,0 @@ const sourcePageContent = await this.objectStorage.getObject<Contract>(sourceContentKey); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
448983