labellife-design-tool 1.2.7 → 1.2.8
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/lib/lib/index.js +1 -1
- package/dist/lib/wordpress.js +1 -1
- package/package.json +1 -1
package/dist/lib/lib/index.js
CHANGED
|
@@ -3184,7 +3184,7 @@ class SimpleCanvasStore {
|
|
|
3184
3184
|
this.emit("designChanged", this._design);
|
|
3185
3185
|
}
|
|
3186
3186
|
addPage(page) {
|
|
3187
|
-
console.log(
|
|
3187
|
+
console.log(`addPage called - Current pages: ${this._design.pages.length}, New page ID: ${page?.id || `page-${Date.now()}`}`);
|
|
3188
3188
|
const newPage = {
|
|
3189
3189
|
id: page?.id || `page-${Date.now()}`,
|
|
3190
3190
|
name: page?.name || `Page ${this._design.pages.length + 1}`,
|
package/dist/lib/wordpress.js
CHANGED
|
@@ -3184,7 +3184,7 @@ class SimpleCanvasStore {
|
|
|
3184
3184
|
this.emit("designChanged", this._design);
|
|
3185
3185
|
}
|
|
3186
3186
|
addPage(page) {
|
|
3187
|
-
console.log(
|
|
3187
|
+
console.log(`addPage called - Current pages: ${this._design.pages.length}, New page ID: ${page?.id || `page-${Date.now()}`}`);
|
|
3188
3188
|
const newPage = {
|
|
3189
3189
|
id: page?.id || `page-${Date.now()}`,
|
|
3190
3190
|
name: page?.name || `Page ${this._design.pages.length + 1}`,
|
package/package.json
CHANGED