File tree Expand file tree Collapse file tree
src/app/bitstream-page/replace-bitstream-page Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,9 +171,8 @@ export class ReplaceBitstreamPageComponent implements OnInit {
171171 * Invalidate the old Bitstream that has been replaced (and thus deleted), as well as our owning Bundle and Item
172172 */
173173 private invalidate ( newBitstream : Bitstream ) {
174- console . log ( newBitstream ) ; // todo: remove this
175174 // the Bitstream returned after upload is not an instance of Bitstream yet
176- newBitstream = Object . assign ( new Bitstream ( ) , newBitstream )
175+ newBitstream = Object . assign ( new Bitstream ( ) , newBitstream ) ;
177176 this . linkService . resolveLink < Bitstream > ( newBitstream , followLink ( 'bundle' ) ) ;
178177 this . requestService . setStaleByHrefSubstring ( newBitstream . firstMetadata ( 'dspace.bitstream.isReplacementOf' ) ?. authority ) ;
179178
You can’t perform that action at this time.
0 commit comments