1. env-properties.json: Set environment to 'beta'.

2. Deposit pages: Bug fix: initialize 'zenodoInformation' variable.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@54434 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2018-12-17 11:06:23 +00:00
parent 7be8792395
commit 2f1e03bec3
6 changed files with 16 additions and 15 deletions

View File

@ -1,12 +1,12 @@
import {Component, Input} from '@angular/core'; import {Component, Input} from '@angular/core';
import {Observable} from 'rxjs/Observable'; import {Observable} from 'rxjs/Observable';
import {ZenodoInformationClass} from '../../openaireLibrary/deposit/utils/zenodoInformation.class';
@Component({ @Component({
selector: 'openaire-deposit-by-subject-result', selector: 'openaire-deposit-by-subject-result',
template:`<deposit-by-subject-result></deposit-by-subject-result>` template:`<deposit-by-subject-result [zenodoInformation]="zenodoInformation"></deposit-by-subject-result>`
}) })
export class OpenaireDepositBySubjectResultComponent { export class OpenaireDepositBySubjectResultComponent {
public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
} }

View File

@ -1,14 +1,13 @@
import {Component} from '@angular/core'; import {Component} from '@angular/core';
import {ZenodoInformationClass} from '../../openaireLibrary/deposit/utils/zenodoInformation.class';
@Component({ @Component({
selector: 'openaire-deposit-datasets', selector: 'openaire-deposit-datasets',
template: ` template: `
<deposit-datasets> <deposit-datasets [zenodoInformation]="zenodoInformation"></deposit-datasets>
</deposit-datasets>
` `
}) })
export class OpenaireDepositDatasetsComponent { export class OpenaireDepositDatasetsComponent {
public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
} }

View File

@ -1,14 +1,13 @@
import {Component} from '@angular/core'; import {Component} from '@angular/core';
import {ZenodoInformationClass} from '../../openaireLibrary/deposit/utils/zenodoInformation.class';
@Component({ @Component({
selector: 'openaire-deposit-datasets-result', selector: 'openaire-deposit-datasets-result',
template: ` template: `
<deposit-datasets-result></deposit-datasets-result> <deposit-datasets-result [zenodoInformation]="zenodoInformation"></deposit-datasets-result>
` `
}) })
export class OpenaireDepositDatasetsResultComponent { export class OpenaireDepositDatasetsResultComponent {
public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
} }

View File

@ -1,11 +1,13 @@
import {Component} from '@angular/core'; import {Component} from '@angular/core';
import {ZenodoInformationClass} from '../../openaireLibrary/deposit/utils/zenodoInformation.class';
@Component({ @Component({
selector: 'openaire-deposit-publications', selector: 'openaire-deposit-publications',
template: ` template: `
<deposit-publications></deposit-publications> <deposit-publications [zenodoInformation]="zenodoInformation"></deposit-publications>
` `
}) })
export class OpenaireDepositPublicationsComponent { export class OpenaireDepositPublicationsComponent {
public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
} }

View File

@ -1,12 +1,13 @@
import {Component} from '@angular/core'; import {Component} from '@angular/core';
import {ZenodoInformationClass} from '../../openaireLibrary/deposit/utils/zenodoInformation.class';
@Component({ @Component({
selector: 'openaire-deposit-publications-result', selector: 'openaire-deposit-publications-result',
template: ` template: `
<deposit-publications-result></deposit-publications-result> <deposit-publications-result [zenodoInformation]="zenodoInformation"></deposit-publications-result>
` `
}) })
export class OpenaireDepositPublicationsResultComponent { export class OpenaireDepositPublicationsResultComponent {
public zenodoInformation: ZenodoInformationClass = new ZenodoInformationClass();
} }

View File

@ -1,5 +1,5 @@
{ {
"environment" : "production", "environment" : "beta",
"enablePiwikTrack" : false, "enablePiwikTrack" : false,
"enableHelper" : true, "enableHelper" : true,
"useCache" : false, "useCache" : false,