Files
wgenerator/src/app/modules/brand/new-user/new-user.component.ts
2021-05-21 20:17:26 +02:00

18 lines
488 B
TypeScript

import {Component} from '@angular/core';
import {UserService} from '../../../services/user/user.service';
import {Observable} from 'rxjs';
import {User} from '../../../services/user/user';
@Component({
selector: 'app-new-user',
templateUrl: './new-user.component.html',
styleUrls: ['./new-user.component.less'],
})
export class NewUserComponent {
public user$: Observable<User>;
public constructor(private userService: UserService) {
this.user$ = userService.user$;
}
}