Skip to content

Commit 10d87ed

Browse files
committed
files: add invenio record resources support
* Refactors the file component and service. Co-Authored-by: Johnny Mariéthoz <[email protected]>
1 parent 9e8d497 commit 10d87ed

File tree

7 files changed

+257
-205
lines changed

7 files changed

+257
-205
lines changed

projects/rero/ng-core/src/lib/record/files/files.component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-->
1717
<div class="card my-4">
1818
<div class="card-header">
19-
<h5 class="m-0" translate>Files</h5>
19+
<h5 class="m-0" translate>{{title}}</h5>
2020
</div>
2121
@if (!hasError && files.length) {
2222
<ul class="list-group list-group-flush">
@@ -25,7 +25,7 @@ <h5 class="m-0" translate>Files</h5>
2525
<li class="list-group-item">
2626
<ng-core-record-file
2727
[type]=type
28-
[record]=record
28+
[record]=parentRecord
2929
[file]=file
3030
[hasChildren]=hasChildren(file)
3131
[infoExcludedFields]=infoExcludedFields

0 commit comments

Comments
 (0)