Some front editions.
This commit is contained in:
@@ -39,9 +39,9 @@
|
|||||||
<a routerLink="/accountSettings" class="indigo-text">
|
<a routerLink="/accountSettings" class="indigo-text">
|
||||||
Annuler
|
Annuler
|
||||||
</a>
|
</a>
|
||||||
<button class="float-right waves-effect waves-light indigo btn"
|
<button class="float-right waves-effect waves-light indigo white-text btn"
|
||||||
type="submit" [disabled]="!profilEditionForm.form.valid">
|
type="submit" [disabled]="!profilEditionForm.form.valid">
|
||||||
Suivant
|
Enregistrer
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export class ProfilEditionComponent implements OnInit {
|
|||||||
|
|
||||||
onSubmit(): void {
|
onSubmit(): void {
|
||||||
this.profilEditionService.updateUser(this.model).subscribe(() => {
|
this.profilEditionService.updateUser(this.model).subscribe(() => {
|
||||||
NotificationsComponent.success('Modification enregistrée.');
|
NotificationsComponent.success('Modifications enregistrées.');
|
||||||
}, error => {
|
}, error => {
|
||||||
NotificationsComponent.error('L\'adresse mail saisie n\'est pas disponible.');
|
NotificationsComponent.error('L\'adresse mail saisie n\'est pas disponible.');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user