Landing pages: loading message for basic information - small bug fixed (do not show loading when warning message is active)
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@47698 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
fadf75e5f4
commit
46e1657731
|
@ -120,6 +120,7 @@ export class DataProviderComponent {
|
|||
|
||||
this.showTabs = false ;
|
||||
if(this.datasourceId==null || this.datasourceId==''){
|
||||
this.showLoading = false;
|
||||
this.warningMessage="No valid datasource id";
|
||||
}else{
|
||||
this._dataproviderService.getDataproviderInfo(this.datasourceId).subscribe(
|
||||
|
|
|
@ -64,6 +64,7 @@ export class DatasetComponent {
|
|||
if(this.datasetId){
|
||||
this.getDatasetInfo(this.datasetId);
|
||||
}else{
|
||||
this.showLoading = false;
|
||||
this.warningMessage="No valid dataset id";
|
||||
}
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ export class OrganizationComponent {
|
|||
if(this.organizationId){
|
||||
this.getOrganizationInfo();
|
||||
}else{
|
||||
this.showLoading = false;
|
||||
this.warningMessage="No valid organization id";
|
||||
}
|
||||
|
||||
|
|
|
@ -111,6 +111,7 @@ export class ProjectComponent{
|
|||
this.searchPublications();
|
||||
this.fetchDatasets.getNumForEntity("project", this.projectId);
|
||||
}else{
|
||||
this.showLoading = false;
|
||||
this.warningMessage="No valid project id";
|
||||
}
|
||||
|
||||
|
|
|
@ -76,6 +76,7 @@ export class PublicationComponent {
|
|||
// switcher(UIkit);
|
||||
// }
|
||||
}else{
|
||||
this.showLoading = false;
|
||||
this.warningMessage="No valid publication id";
|
||||
}
|
||||
this.metricsClicked = false;
|
||||
|
|
Loading…
Reference in New Issue