realistion de la page Mon Profil
This commit is contained in:
parent
4138c22051
commit
7ebacdc287
18 changed files with 702 additions and 145 deletions
|
|
@ -0,0 +1,28 @@
|
|||
import {Component, Inject, OnInit} from '@angular/core';
|
||||
import {MAT_DIALOG_DATA, MatDialogRef} from "@angular/material/dialog";
|
||||
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-popup-picture-profil-url',
|
||||
templateUrl: './popup-picture-profil-url.component.html',
|
||||
styleUrls: ['./popup-picture-profil-url.component.scss']
|
||||
})
|
||||
export class PopupPictureProfilUrlComponent implements OnInit
|
||||
{
|
||||
profilePictureUrl: string = "" ;
|
||||
|
||||
constructor( public dialogRef: MatDialogRef<PopupPictureProfilUrlComponent>,
|
||||
@Inject(MAT_DIALOG_DATA) public data ) { }
|
||||
|
||||
ngOnInit(): void
|
||||
{
|
||||
this.profilePictureUrl = this.data.profilePictureUrl;
|
||||
}
|
||||
|
||||
onValider()
|
||||
{
|
||||
this.dialogRef.close(this.profilePictureUrl);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in a new issue