0)
- : true
+ 'col l9 m8 s4': !loadingUserRecord
+ ? publicOrcid
+ ? !recordWithIssues &&
+ (displaySideBar || displayBiography || affiliations > 0)
: true
+ : true
}"
>
@@ -54,14 +50,9 @@
[isPublicRecord]="publicOrcid"
class="row"
[loadingUserRecord]="loadingUserRecord"
- [newRecordHeaderTogglz]="newRecordHeaderTogglz"
>
-
-
- error
- No public information available.
-
-
-
-
-
- Record last modified
-
- {{ userRecord?.lastModifiedTime | date : 'medium' : 'UTC' }}
- UTC
-
-
-
+
{
}
})
- it('[PRIVATE] should have only one section status-bar', () => {
- addIsPublicRecord(component, fixture)
-
- validateThatExistAndNumberOfElements(fixture, 'status-bar', 1)
- })
it('[PRIVATE] should have only one of each section', () => {
validateTopBarAndActivities(fixture, 1)
@@ -121,7 +116,6 @@ describe('MyOrcidComponent', () => {
it('[PUBLIC] should have heading hierarchy', () => {
addIsPublicRecord(component, fixture)
- expect(fixture.debugElement.query(By.css('h1.name'))).toBeTruthy()
expect(
fixture.debugElement.query(By.css('h2.biography-header'))
).toBeTruthy()
@@ -131,7 +125,6 @@ describe('MyOrcidComponent', () => {
expect(
fixture.debugElement.queryAll(By.css('h3.activity-header')).length
).toBe(5)
- expect(fixture.debugElement.query(By.css('h3.orcid-id'))).toBeTruthy()
})
})
diff --git a/src/app/record/pages/my-orcid/my-orcid.component.ts b/src/app/record/pages/my-orcid/my-orcid.component.ts
index ba4cf9a65a..e1c8b16298 100644
--- a/src/app/record/pages/my-orcid/my-orcid.component.ts
+++ b/src/app/record/pages/my-orcid/my-orcid.component.ts
@@ -74,7 +74,6 @@ export class MyOrcidComponent implements OnInit, OnDestroy {
regionActivities = $localize`:@@shared.activities:Activities`
readyForIndexing: boolean
fragment: string
- newRecordHeaderTogglz = false
newRecordHeaderWithSummaryTogglz: boolean
constructor(
@@ -226,10 +225,7 @@ export class MyOrcidComponent implements OnInit, OnDestroy {
}
}
- if (togglz.messages['NEW_RECORD_HEADER'] === 'true') {
- this.newRecordHeaderTogglz = true
- }
-
+
if (togglz.messages['CRAZY_EGG'] === 'true') {
this._scriptService
.load({