refactor: migration changes

This commit is contained in:
tidusjar 2022-06-03 22:08:13 +01:00
commit 87a4404ca6
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
<div class="wizard-background">
<div class="container wizard-inner">
<mat-horizontal-stepper linear #stepper>
<mat-stepper linear #stepper>
<mat-step >
<form >
<ng-template matStepLabel>Welcome</ng-template>
@ -53,7 +53,7 @@
</form>
</mat-step>
<mat-step [optional]="true">
<form >
<form>
<ng-template matStepLabel>Ombi config</ng-template>
<wizard-ombi [config]="config"></wizard-ombi>
<div>
@ -81,6 +81,6 @@
<button mat-button (click)="stepper.reset()" class="mat-raised-button mat-error left">Reset</button>
</div>
</mat-step>
</mat-horizontal-stepper>
</mat-stepper>
</div>
</div>

View file

@ -1,10 +1,10 @@
import { AfterViewInit, Component, OnInit, ViewChild } from "@angular/core";
import { Component, OnInit, ViewChild } from "@angular/core";
import { IdentityService, NotificationService, SettingsService } from "../../services";
import { CustomizationFacade } from "../../state/customization/customization.facade";
import { ICreateWizardUser } from "../../interfaces";
import { IOmbiConfigModel } from "../models/OmbiConfigModel";
import { MatHorizontalStepper } from'@angular/material/stepper';
import { MatStepper } from'@angular/material/stepper';
import { Router } from "@angular/router";
import { WizardService } from "../services/wizard.service";
@ -14,7 +14,7 @@ import { WizardService } from "../services/wizard.service";
})
export class WelcomeComponent implements OnInit {
@ViewChild('stepper', {static: false}) public stepper: MatHorizontalStepper;
@ViewChild('stepper', {static: false}) public stepper: MatStepper;
public localUser: ICreateWizardUser;
public config: IOmbiConfigModel;