mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
80233: Apply Art's feedback
This commit is contained in:
@@ -368,6 +368,7 @@ export class EditRelationshipListComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
// should never happen...
|
||||
console.warn(`The item ${this.item.uuid} is not on the right or the left side of relationship type ${this.relationshipType.uuid}`);
|
||||
return undefined;
|
||||
})
|
||||
);
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { autoserialize, autoserializeAs, deserialize, inheritSerialization } from 'cerialize';
|
||||
import { autoserialize, autoserializeAs, deserialize, deserializeAs, inheritSerialization } from 'cerialize';
|
||||
import { Observable } from 'rxjs';
|
||||
import { isEmpty } from '../../shared/empty.util';
|
||||
import { ListableObject } from '../../shared/object-collection/shared/listable-object.model';
|
||||
@@ -37,7 +37,7 @@ export class Item extends DSpaceObject implements ChildHALResource {
|
||||
/**
|
||||
* The Date of the last modification of this Item
|
||||
*/
|
||||
@deserialize
|
||||
@deserializeAs(Date)
|
||||
lastModified: Date;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user