40416: normalized collection bug

This commit is contained in:
Lotte Hofstede
2017-05-05 10:21:33 +02:00
parent 25ef735366
commit 54cd529cc6
24 changed files with 148 additions and 38 deletions

View File

@@ -2,6 +2,7 @@ import { autoserialize, autoserializeAs } from "cerialize";
import { Metadatum } from "./metadatum.model"
import { isEmpty, isNotEmpty } from "../../shared/empty.util";
import { CacheableObject } from "../cache/object-cache.reducer";
import { RemoteData } from "../data/remote-data";
/**
* An abstract model class for a DSpaceObject.
@@ -43,7 +44,7 @@ export abstract class DSpaceObject implements CacheableObject {
/**
* An array of DSpaceObjects that are direct parents of this DSpaceObject
*/
parents: Array<DSpaceObject>;
parents: Array<RemoteData<DSpaceObject>>;
/**
* The DSpaceObject that owns this DSpaceObject