Adds value "Internal" for Grants fetched localy.
This commit is contained in:
parent
9281864a70
commit
098c2270fb
|
@ -177,6 +177,7 @@ public class Grant implements DataModel<eu.eudat.data.entities.Grant, Grant> {
|
|||
this.files = entity.getContent() != null ? Arrays.asList(new ContentFile(entity.getContent().getLabel(), UUID.fromString(entity.getContent().getUri().split(":")[1]), "final", entity.getContent().getExtension())) : Arrays.asList(new ContentFile("default.png", null, null, null));
|
||||
if (entity.getFunder() != null)
|
||||
this.funderId = entity.getFunder().getId();
|
||||
this.source = "Internal";
|
||||
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue