diff --git a/Mohem/src/app/app.component.html b/Mohem/src/app/app.component.html
index abbe1186..fd655b55 100644
--- a/Mohem/src/app/app.component.html
+++ b/Mohem/src/app/app.component.html
@@ -56,6 +56,16 @@
{{notBadge}}
+
+
+
+
+ {{ts.trPK('general','digital-id')}}
+ {{notBadge}}
+
+
@@ -128,6 +138,16 @@
-->
+
+
+
+ {{ts.trPK('general','digital-id')}}
+ {{notBadge}}
+
+
+
diff --git a/Mohem/src/app/authentication/digital-id/digital-id.component.ts b/Mohem/src/app/authentication/digital-id/digital-id.component.ts
index d3768dee..da088354 100644
--- a/Mohem/src/app/authentication/digital-id/digital-id.component.ts
+++ b/Mohem/src/app/authentication/digital-id/digital-id.component.ts
@@ -1,4 +1,4 @@
-import { Component, OnInit } from '@angular/core';
+import { Component, OnInit, Input} from '@angular/core';
import { ModalController } from '@ionic/angular';
import { TranslatorService } from 'src/app/hmg-common/services/translator/translator.service';
@@ -8,7 +8,7 @@ import { TranslatorService } from 'src/app/hmg-common/services/translator/transl
styleUrls: ['./digital-id.component.scss'],
})
export class DigitalIdComponent implements OnInit {
- userInfo: any;
+ @Input() userInfo: any;
constructor(
public modalCtrl: ModalController,
@@ -16,7 +16,6 @@ export class DigitalIdComponent implements OnInit {
) { }
ngOnInit() {
- this.userInfo = JSON.parse(localStorage.getItem('digitalIDUser'));
console.log(this.userInfo);
}
diff --git a/Mohem/src/app/profile/edit-profile/edit-profile.component.scss b/Mohem/src/app/profile/edit-profile/edit-profile.component.scss
index 5b80da30..bad9b06b 100644
--- a/Mohem/src/app/profile/edit-profile/edit-profile.component.scss
+++ b/Mohem/src/app/profile/edit-profile/edit-profile.component.scss
@@ -96,7 +96,7 @@
border-radius: 10px;
margin-bottom: -49px;
margin-left: 20px;
- margin-right: 25px;
+ margin-right: 20px;
}
.columns{