add missing import in develop, update the links to api documentation

This commit is contained in:
argirok 2021-11-25 17:14:21 +02:00
parent 5cb2c9f1ba
commit 638cec68df
4 changed files with 7 additions and 6 deletions

View File

@ -27,7 +27,7 @@ import {Subscription} from "rxjs";
<p> <p>
<span class="uk-text-bold">For research outcomes </span> <span class="uk-text-bold">For research outcomes </span>
(publications, datasets, software and other research data) you can use the (publications, datasets, software and other research data) you can use the
<a href="http://api.openaire.eu/api.html" target="_blank">Selective Access APIs</a> <a href="https://graph.openaire.eu/develop/api.html" target="_blank">Selective Access APIs</a>
by adding the <span class="uk-text-lowercase">country</span> parameter. by adding the <span class="uk-text-lowercase">country</span> parameter.
</p> </p>
<div class="uk-grid uk-child-width-1-2@m uk-child-width-1-1@s" uk-grid> <div class="uk-grid uk-child-width-1-2@m uk-child-width-1-1@s" uk-grid>
@ -79,7 +79,7 @@ import {Subscription} from "rxjs";
<div class="documentation"> <div class="documentation">
For <span For <span
class="uk-text-bold">more information</span> on the full potential of the OpenAIRE APIs please check class="uk-text-bold">more information</span> on the full potential of the OpenAIRE APIs please check
the <a href="http://develop.openaire.eu/" target="_blank">OpenAIRE API Documentation</a>. the <a href="https://graph.openaire.eu/develop" target="_blank">OpenAIRE API Documentation</a>.
</div> </div>
</div> </div>
</div> </div>
@ -97,7 +97,7 @@ export class DevelopComponent implements OnInit {
constructor(private seoService: SEOService, constructor(private seoService: SEOService,
private _meta: Meta, private _meta: Meta,
private _router: Router, private _router: Router,
private _title: Title, private _piwikService:PiwikService,) { private _title: Title, private _piwikService:PiwikService) {
} }
public ngOnDestroy() { public ngOnDestroy() {
for (let sub of this.subs) { for (let sub of this.subs) {

View File

@ -3,10 +3,11 @@ import {CommonModule} from "@angular/common";
import {DevelopComponent} from "./develop.component"; import {DevelopComponent} from "./develop.component";
import {RouterModule} from "@angular/router"; import {RouterModule} from "@angular/router";
import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard"; import {PreviousRouteRecorder} from "../openaireLibrary/utils/piwik/previousRouteRecorder.guard";
import {PiwikServiceModule} from "../openaireLibrary/utils/piwik/piwikService.module";
@NgModule({ @NgModule({
declarations: [DevelopComponent], declarations: [DevelopComponent],
imports: [CommonModule, RouterModule.forChild([ imports: [CommonModule,PiwikServiceModule, RouterModule.forChild([
{ {
path: '', path: '',
component: DevelopComponent, component: DevelopComponent,

@ -1 +1 @@
Subproject commit 3632510e387b3a83f8d8e0f27cd796912a19c741 Subproject commit 2f65202142d48bfd51508e20f9ac0d8cb4368990

@ -1 +1 @@
Subproject commit 318c6560565a7a0da818385de27ebb430b22aea3 Subproject commit 28db142aa54b8bea87ada52dbae2da7c7da8f458