diff --git a/src/app/components/observers/observer-profile/observer-profile.component.html b/src/app/components/observers/observer-profile/observer-profile.component.html index 9f127f86..f0dd78a5 100644 --- a/src/app/components/observers/observer-profile/observer-profile.component.html +++ b/src/app/components/observers/observer-profile/observer-profile.component.html @@ -54,8 +54,8 @@

{{ 'OBSERVER_EDIT' | transl
- - + +
diff --git a/src/app/components/observers/observer-profile/observer-profile.component.ts b/src/app/components/observers/observer-profile/observer-profile.component.ts index bc8620b0..236ded1f 100644 --- a/src/app/components/observers/observer-profile/observer-profile.component.ts +++ b/src/app/components/observers/observer-profile/observer-profile.component.ts @@ -108,7 +108,7 @@ export class ObserverProfileComponent implements OnInit, OnDestroy { private addNewObserver(values: { [k: string]: string }) { const observerToAdd: Observer = new Observer({}); observerToAdd.phone = values.phone; - observerToAdd.pin = values.password; + observerToAdd.pin = values.pin; observerToAdd.name = values.name; this.observerService.addNewObserver(observerToAdd).subscribe(() => {