Merge pull request #8428 from opf/fix/attachment_section_on_read_only_wps

correct attachment list to be displayed check

[ci skip]
pull/8432/head
Oliver Günther 4 years ago committed by GitHub
commit b9c5f30b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      frontend/src/app/components/work-packages/wp-single-view/wp-single-view.html

@ -124,8 +124,7 @@
</div>
</div>
<div class="work-packages--attachments attributes-group"
*ngIf="workPackage.canAddAttachments || workPackage.hasAttachments">
<div class="work-packages--attachments attributes-group">
<div class="work-packages--attachments-container">
<div class="attributes-group--header">
<div class="attributes-group--header-container">
@ -138,7 +137,8 @@
</ndc-dynamic>
<ndc-dynamic [ndcDynamicComponent]="attachmentUploadComponent()"
[ndcDynamicInputs]="{ resource: workPackage }">
[ndcDynamicInputs]="{ resource: workPackage }"
*ngIf="workPackage.canAddAttachments">
</ndc-dynamic>
</div>
</div>

Loading…
Cancel
Save