Création de groupe terminé + affichage des noms d'utilisateur dans la discussion
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component, inject, Input} from '@angular/core';
|
||||
import {AuthService} from "../../../core/auth/auth.service";
|
||||
|
||||
@Component({
|
||||
selector: 'app-messages-infouser',
|
||||
@@ -7,5 +8,8 @@ import { Component } from '@angular/core';
|
||||
styleUrl: './messages-infouser.component.css'
|
||||
})
|
||||
export class MessagesInfoUser {
|
||||
@Input() name: string = '';
|
||||
private authService = inject(AuthService);
|
||||
|
||||
user = this.authService.currentUser;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user