Closed lukavdplas closed 1 month ago
This affects places where the frontend renders the content of fields:
https://github.com/UUDigitalHumanitieslab/I-analyzer/blob/fb1d88c068bc7e8a74372baa0c6951c1eba90c14/frontend/src/app/document-view/document-view.component.html#L21-L29
There is a special rule for URL fields (rendering the content as a link), but this is based on the field name.
It would be more appropriate to set te the display_type attribute accordingly.
display_type
Suggestion:
'url'
This affects places where the frontend renders the content of fields:
https://github.com/UUDigitalHumanitieslab/I-analyzer/blob/fb1d88c068bc7e8a74372baa0c6951c1eba90c14/frontend/src/app/document-view/document-view.component.html#L21-L29
There is a special rule for URL fields (rendering the content as a link), but this is based on the field name.
It would be more appropriate to set te the
display_type
attribute accordingly.Suggestion:
display_type
to include'url'
.display_type
instead.