Skip to content

Commit

Permalink
fix: [discussion] affiche l'image de l'utilisateur courant sur le for…
Browse files Browse the repository at this point in the history
…mulaire de création de discussion
  • Loading branch information
matthieuaudemard committed Nov 16, 2021
1 parent 47718a5 commit aa12d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="row mb-3 d-flex">
<div class="col-md-6 d-flex align-items-center">
<p-avatar
image="assets/img/default-user.png"
[image]="currentUser.imageUrl || constant.USER_DEFAULT_IMAGE_SRC"
shape="circle"
size="xlarge"
styleClass="me-2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export class CreatePostFormComponent extends SidebarContentComponent implements
groups: Group[];
currentUser: User = {};
selectedGroup: Group;
constant = Constants;

constructor(
private router: Router,
Expand Down

0 comments on commit aa12d4a

Please sign in to comment.