Better and Responsive Picture Selector

This commit is contained in:
2023-08-28 00:56:35 -03:00
parent c5d70020b6
commit 189efc1085
4 changed files with 21 additions and 15 deletions

View File

@@ -28,8 +28,12 @@ export class ProfilePicturePickerComponent {
this.imageSent.emit(true);
}
getFileName(): string {
return this.profilePicture.name;
}
get isProfilePictureSelected(): boolean {
return !this.profilePicture;
return !!this.profilePicture;
}
}