argos/dmp-frontend/src/app/ui/dashboard/quick-wizard-create-add/quick-wizard-create-add.com...

39 lines
884 B
TypeScript
Raw Normal View History

import { Component, OnInit } from "@angular/core";
2019-09-23 10:17:03 +02:00
import { MatSnackBar } from "@angular/material/snack-bar";
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-03-01 16:15:25 +01:00
}
navigateToCreate() {
2019-03-01 16:15:25 +01:00
this.router.navigate(["/quick-wizard"]);
}
navigateToAdd() {
this.router.navigate(["/datasetcreatewizard"]);
2019-03-01 16:15:25 +01:00
}
}