Angular v19
This commit is contained in:
@@ -5,7 +5,8 @@ import { Observable, Subscription } from 'rxjs';
|
||||
import { IUser } from '../../models/user';
|
||||
|
||||
@Directive({
|
||||
selector: '[fmHasRole]',
|
||||
selector: '[fmHasRole]',
|
||||
standalone: false
|
||||
})
|
||||
export class HasRoleDirective implements OnInit, OnDestroy{
|
||||
@Input('fmHasRole') role:string;
|
||||
|
||||
Reference in New Issue
Block a user