80233: Apply Art's feedback

This commit is contained in:
Bruno Roemers
2021-06-23 15:39:53 +02:00
parent 627b271d3b
commit 4c1a72fdb2
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
})
);

View File

@@ -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;
/**