Browse Source

fix(iot-hub): show connection-method selector step even when a single method is available

pull/15193/head
Igor Kulikov 1 month ago
parent
commit
a4e4f56158
  1. 2
      ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts

2
ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.ts

@ -565,7 +565,7 @@ export class TbDeviceInstallDialogComponent extends DialogComponent<TbDeviceInst
private buildWizardSteps(): void {
this.wizardSteps = [];
if (!this.reviewMode && this.availableInstallMethods.length > 1 && !this.selectedInstallMethod) {
if (!this.reviewMode && this.availableInstallMethods.length > 0 && !this.selectedInstallMethod) {
// First step: connection method selector. Remaining steps are
// appended via appendInstallSteps() once a method is confirmed.
this.wizardSteps.push({

Loading…
Cancel
Save