Adds value "Internal" for Grants fetched localy.

This commit is contained in:
gkolokythas 2019-08-27 13:11:25 +03:00
parent 9281864a70
commit 098c2270fb
1 changed files with 1 additions and 0 deletions

View File

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