diff --git a/src/components/content/content.ts b/src/components/content/content.ts index a983ff0c8..c68f03fa6 100644 --- a/src/components/content/content.ts +++ b/src/components/content/content.ts @@ -31,6 +31,7 @@ export class ContentWorkshop { } catch (error) { this.viewManager.notifyError("Operations", `Unable to schedule publishing. Please try again later.`); + this.logger.traceError(error); } } diff --git a/src/components/content/resetDetails.ts b/src/components/content/resetDetails.ts index a194cf8ca..aa35b26f7 100644 --- a/src/components/content/resetDetails.ts +++ b/src/components/content/resetDetails.ts @@ -44,6 +44,7 @@ export class ResetDetailsWorkshop { } catch (error) { this.viewManager.notifyError("Confirm", `Unable to reset website. Please try again later.`); + this.logger.traceError(error); } } } \ No newline at end of file diff --git a/src/services/provisioningService.ts b/src/services/provisioningService.ts index b8e2df748..9b482d8fe 100644 --- a/src/services/provisioningService.ts +++ b/src/services/provisioningService.ts @@ -78,6 +78,7 @@ export class ProvisionService { } this.router.navigateTo("/"); this.viewManager.setHost({ name: "page-host" }); + this.viewManager.showToolboxes(); } catch (error) { throw error; diff --git a/webpack.build.js b/webpack.build.js index 5b9259ed5..9e33824fb 100644 --- a/webpack.build.js +++ b/webpack.build.js @@ -13,7 +13,7 @@ const productionConfig = { terserOptions: { mangle: false, output: { - comments: true + comments: false } } }) diff --git a/webpack.designer.js b/webpack.designer.js index 3fcc7abba..de5aa0259 100644 --- a/webpack.designer.js +++ b/webpack.designer.js @@ -64,7 +64,8 @@ const designerConfig = { new CopyWebpackPlugin({ patterns: [ { from: `./src/themes/designer/assets/index.html`, to: "index.html" }, - { from: `./src/themes/designer/styles/fonts`, to: "editors/styles/fonts" } + { from: `./src/themes/designer/styles/fonts`, to: "editors/styles/fonts" }б + { from: `./scripts/data.json`, to: "editors/themes/default.json" } ] }) ],