Commits
rbt authored d266a128f8b
23 23 | <div class="patientCity"> |
24 24 | <h4>By/Hjemkommune</h4> |
25 25 | <p>{{dataCard.personalDataSection?.address?.city || '-'}}</p> |
26 26 | </div> |
27 27 | |
28 28 | <div *ngIf="patientContextService.isAllowedToAccessData()" class="patientInterpretingAssistance"> |
29 29 | <h4>Tolkebistand</h4> |
30 30 | <p>{{getTranslationRequirements()}}</p> |
31 31 | </div> |
32 32 | |
33 - | <div class="more-container" > |
33 + | <div class="more-container" *ngIf="!(userContextService.userContext$ | async)?.sboLogin && !initializationFailed"> |
34 34 | <button class="actions" type="button" mat-button (click)="closePatient()"> |
35 35 | <span class="text">Luk patient</span> |
36 36 | <mat-icon svgIcon="ic-close"></mat-icon> |
37 37 | </button> |
38 38 | </div> |
39 39 | </div> |
40 40 | |
41 41 | <div #sidebar class="sideBar"> |
42 42 | <!-- If there is any cpr in the user context it was given by SBO, hence change is not allowed --> |
43 43 | |