2020-11-25 08:57:17 +01:00
|
|
|
import { Component, OnInit } from '@angular/core';
|
2020-12-05 07:30:30 +01:00
|
|
|
import {Router} from '@angular/router';
|
2020-11-25 08:57:17 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-create-account',
|
|
|
|
templateUrl: './create-account.component.html',
|
|
|
|
styleUrls: ['./create-account.component.scss']
|
|
|
|
})
|
|
|
|
export class CreateAccountComponent implements OnInit {
|
|
|
|
|
2020-12-05 07:30:30 +01:00
|
|
|
constructor(
|
|
|
|
private router: Router
|
|
|
|
) { }
|
2020-11-25 08:57:17 +01:00
|
|
|
|
|
|
|
ngOnInit(): void {
|
|
|
|
}
|
|
|
|
|
2020-12-05 07:30:30 +01:00
|
|
|
onSubmit(): void {
|
|
|
|
this.router.navigateByUrl(`/accounts`);
|
|
|
|
}
|
2020-11-25 08:57:17 +01:00
|
|
|
}
|