Hello, Dspace community; I am Using the Dspace 8 current version, trying to 
show the Access Status Badge on the simple item page. My approach is like 
this, I added this '<ds-access-status-badge [object]="object"></
ds-access-status-badge>' or '<ds-access-status-badge #accessStatusBadge [
object]="object"></ds-access-status-badge>' in Untyped-item.component.html 
file, and imported ThemedAccessStatusBadgeComponent, 
AccessStatusBadgeComponent classes in untyped-item.component.ts file. But 
no Access Status Badge is showing up on the untyped item page. I am getting 
errors in the console saying this...

ERROR TypeError: Cannot assign to read only property 'accessStatus' of 
object '[object Object]'
    at AccessStatusBadgeComponent.ngOnInit 
(access-status-badge.component.ts:75:24)
    at callHookInternal (core.mjs:5136:14)
    at callHook (core.mjs:5163:13)
    at callHooks (core.mjs:5118:17)
    at executeInitAndCheckHooks (core.mjs:5068:9)
    at refreshView (core.mjs:12806:21)
    at detectChangesInView$1 (core.mjs:13015:9)
    at detectChangesInViewIfAttached (core.mjs:12978:5)
    at detectChangesInEmbeddedViews (core.mjs:12935:13)
    at refreshView (core.mjs:12815:9)



Is there anyone who can guide me through this problem for version 8? 
Earlier in version 7.6, this used to work in untyped-item.component.html 
'<ds-themed-access-status-badge #accessStatusBadge 
[object]="object"></ds-themed-access-status-badge>'.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/a5f6e7f6-bc06-445d-811e-61ec27a6ec35n%40googlegroups.com.

Reply via email to