diff --git a/Step/wwwroot/src/_base/baseRestService.ts b/Step/wwwroot/src/_base/baseRestService.ts index cf56c0dd..be25dc74 100644 --- a/Step/wwwroot/src/_base/baseRestService.ts +++ b/Step/wwwroot/src/_base/baseRestService.ts @@ -99,7 +99,7 @@ export class baseRestService { (iziToast as any).error({ title: r.config.url, // message: localizeString(r.data.message, r.data.message), - message: store.getters.getLabel(r.data.message), + message: store.getters.getLabel(r.data.message) || r.data.message, theme: "dark", timeout: false, class: "t-error", diff --git a/Step/wwwroot/src/components/tooling/tooling-equipment.ts b/Step/wwwroot/src/components/tooling/tooling-equipment.ts index b1b80519..89f51526 100644 --- a/Step/wwwroot/src/components/tooling/tooling-equipment.ts +++ b/Step/wwwroot/src/components/tooling/tooling-equipment.ts @@ -92,7 +92,7 @@ export default class toolingEquipment extends Vue { async mounted() { await new ToolingService().GetTools(); - // await new ToolingService().GetToolsConfiguration(); + await new ToolingService().GetToolsConfiguration(); this.toolsConfiguration = (this.$store.state as AppModel).tooling.toolsConfiguration; this.edgeConfiguration = (this.$store.state as AppModel).tooling.edgesConfiguration; diff --git a/Step/wwwroot/src/components/tooling/tooling-families.ts b/Step/wwwroot/src/components/tooling/tooling-families.ts index 07c5dc95..2ae13794 100644 --- a/Step/wwwroot/src/components/tooling/tooling-families.ts +++ b/Step/wwwroot/src/components/tooling/tooling-families.ts @@ -65,7 +65,7 @@ export default class toolingFamilies extends Vue { async mounted() { await new ToolingService().GetFamilies(); - // await new ToolingService().GetToolsConfiguration(); + await new ToolingService().GetToolsConfiguration(); this.familyConfiguration = (this.$store.state as AppModel).tooling.familyConfiguration; diff --git a/Step/wwwroot/src/components/tooling/tooling-magpos.ts b/Step/wwwroot/src/components/tooling/tooling-magpos.ts index 37edd357..8460eff2 100644 --- a/Step/wwwroot/src/components/tooling/tooling-magpos.ts +++ b/Step/wwwroot/src/components/tooling/tooling-magpos.ts @@ -53,7 +53,7 @@ export default class toolingMagPos extends Vue { mounted() { new ToolingService().GetMagazinesPositions(); - // new ToolingService().GetToolsConfiguration(); + new ToolingService().GetToolsConfiguration(); this.magposConfiguration = (this.$store.state as AppModel).tooling.magazinePosConfiguration; this.modalBlockMagazine(); } diff --git a/Step/wwwroot/src/components/tooling/tooling-shanks.ts b/Step/wwwroot/src/components/tooling/tooling-shanks.ts index 1fd75169..8fae485a 100644 --- a/Step/wwwroot/src/components/tooling/tooling-shanks.ts +++ b/Step/wwwroot/src/components/tooling/tooling-shanks.ts @@ -88,7 +88,7 @@ export default class toolingShanks extends Vue { async mounted() { await new ToolingService().GetShanks(); - // await new ToolingService().GetToolsConfiguration(); + await new ToolingService().GetToolsConfiguration(); this.shankConfiguration = (this.$store.state as AppModel).tooling.shankConfiguration; this.childToolsShank = (this.$store.state as AppModel).tooling.childToolsShank;