2019-12-11 15:51:03 +01:00
|
|
|
import { Component, OnInit } from "@angular/core";
|
2019-09-23 10:17:03 +02:00
|
|
|
import { MatSnackBar } from "@angular/material/snack-bar";
|
2019-12-11 15:51:03 +01:00
|
|
|
import { ActivatedRoute, Router } from "@angular/router";
|
|
|
|
import { BaseComponent } from '@common/base/base.component';
|
|
|
|
import { TranslateService } from "@ngx-translate/core";
|
2019-03-01 16:15:25 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-quick-wizard-create-add-component',
|
|
|
|
templateUrl: 'quick-wizard-create-add.component.html',
|
|
|
|
styleUrls: ['./quick-wizard-create-add.component.scss']
|
|
|
|
})
|
|
|
|
export class QuickWizardCreateAdd extends BaseComponent implements OnInit {
|
2019-03-06 11:03:02 +01:00
|
|
|
|
2019-03-01 16:15:25 +01:00
|
|
|
constructor(
|
|
|
|
private router: Router,
|
|
|
|
private languageService: TranslateService,
|
|
|
|
public snackBar: MatSnackBar,
|
|
|
|
public route: ActivatedRoute
|
|
|
|
) {
|
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
2019-12-11 15:51:03 +01:00
|
|
|
|
2019-03-01 16:15:25 +01:00
|
|
|
}
|
|
|
|
|
2019-12-11 15:51:03 +01:00
|
|
|
navigateToCreate() {
|
2019-03-01 16:15:25 +01:00
|
|
|
this.router.navigate(["/quick-wizard"]);
|
|
|
|
}
|
|
|
|
|
2019-12-11 15:51:03 +01:00
|
|
|
|
|
|
|
navigateToAdd() {
|
2019-03-05 12:21:04 +01:00
|
|
|
this.router.navigate(["/datasetcreatewizard"]);
|
2019-03-01 16:15:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|