Skip to content

Commit 8cbb852

Browse files
committed
Debugging bitstreams on Item page with console.log.
1 parent 457b86a commit 8cbb852

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/item-page/simple/field-components/file-section/file-section.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ export class FileSectionComponent implements OnInit {
155155
} else if (hasValue(bitstreamsRD.payload)) {
156156
const current: Bitstream[] = this.bitstreams$.getValue();
157157
// For debugging.
158-
// bitstreamsRD.payload.page.forEach(bitstream => {
159-
// console.log('Bitstream:', bitstream);
160-
// });
158+
bitstreamsRD.payload.page.forEach(bitstream => {
159+
console.log('Bitstream:', bitstream);
160+
});
161161
this.bitstreams$.next([...current, ...bitstreamsRD.payload.page]);
162162
this.isLoading = false;
163163
this.isLastPage = this.currentPage === bitstreamsRD.payload.totalPages;

0 commit comments

Comments
 (0)