@veloceapps/sdk 9.0.0-1 → 9.0.0-2

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.
@@ -98,6 +98,9 @@ class DocGenComponent {
98
98
  }
99
99
  initialize() {
100
100
  this.templateApiName = this.flowInfo.flow?.properties.templates?.docGen ?? '';
101
+ if (this.flowInfo.isLegacy && !this.templateApiName) {
102
+ return;
103
+ }
101
104
  this.generateUIDefinition$()
102
105
  .pipe(tap(uiDef => {
103
106
  if (!uiDef) {
@@ -225,6 +228,9 @@ class GuidedSellingComponent {
225
228
  }
226
229
  initialize() {
227
230
  this.templateApiName = this.flowInfo.flow?.properties.templates?.guidedSelling ?? '';
231
+ if (this.flowInfo.isLegacy && !this.templateApiName) {
232
+ return;
233
+ }
228
234
  this.generateUIDefinition$()
229
235
  .pipe(tap(uiDef => {
230
236
  if (!uiDef) {
@@ -335,6 +341,9 @@ class FlowHeaderComponent {
335
341
  }
336
342
  initialize() {
337
343
  this.templateApiName = this.flowInfo.flow?.properties.templates?.flowHeader ?? '';
344
+ if (this.flowInfo.isLegacy && !this.templateApiName) {
345
+ return;
346
+ }
338
347
  this.generateUIDefinition$()
339
348
  .pipe(tap(uiDef => {
340
349
  if (!uiDef) {