Skip to content
Snippets Groups Projects
Commit f00899d4 authored by AndiMajore's avatar AndiMajore
Browse files

commiting additional files

parent de488650
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ import { LoadingScreenComponent } from './components/loading-screen/loading-scre ...@@ -47,6 +47,7 @@ import { LoadingScreenComponent } from './components/loading-screen/loading-scre
import { PrivacyBannerComponent } from './components/privacy-banner/privacy-banner.component'; import { PrivacyBannerComponent } from './components/privacy-banner/privacy-banner.component';
import { ParserWarningComponent } from './components/parser-warning/parser-warning.component'; import { ParserWarningComponent } from './components/parser-warning/parser-warning.component';
import { GroupWarningComponent } from './components/group-warning/group-warning.component'; import { GroupWarningComponent } from './components/group-warning/group-warning.component';
import { NetworkWarningComponent } from './components/network-warning/network-warning.component';
@NgModule({ @NgModule({
...@@ -84,6 +85,7 @@ import { GroupWarningComponent } from './components/group-warning/group-warning. ...@@ -84,6 +85,7 @@ import { GroupWarningComponent } from './components/group-warning/group-warning.
PrivacyBannerComponent, PrivacyBannerComponent,
ParserWarningComponent, ParserWarningComponent,
GroupWarningComponent, GroupWarningComponent,
NetworkWarningComponent,
], ],
imports: [ imports: [
BrowserModule, BrowserModule,
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<div class="is-hidden-mobile fullheight" id="appContainer"> <div class="is-hidden-mobile fullheight" id="appContainer">
<app-fa-icons></app-fa-icons> <app-fa-icons></app-fa-icons>
<app-loading-screen></app-loading-screen> <app-loading-screen></app-loading-screen>
<app-network-warning></app-network-warning>
<app-group-warning></app-group-warning> <app-group-warning></app-group-warning>
<app-parser-warning></app-parser-warning> <app-parser-warning></app-parser-warning>
<app-privacy-banner></app-privacy-banner> <app-privacy-banner></app-privacy-banner>
......
...@@ -72,7 +72,10 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -72,7 +72,10 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
@Input() @Input()
public set network(network: string | undefined) { public set network(network: string | undefined) {
this.drugstoneConfig.gettingNetworkIssue = false;
if (network == null) { if (network == null) {
this.drugstoneConfig.gettingNetworkIssue = true;
console.error('Failed parsing input network! Reason: Network JSON is empty');
return; return;
} }
try { try {
...@@ -135,6 +138,7 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit { ...@@ -135,6 +138,7 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
public drugstoneConfig: DrugstoneConfigService, public drugstoneConfig: DrugstoneConfigService,
public netex: NetexControllerService, public netex: NetexControllerService,
public networkHandler: NetworkHandlerService) { public networkHandler: NetworkHandlerService) {
this.showDetails = false; this.showDetails = false;
this.analysis.subscribeList(async (items, selected) => { this.analysis.subscribeList(async (items, selected) => {
// return if analysis panel is open or no nodes are loaded // return if analysis panel is open or no nodes are loaded
......
...@@ -11,6 +11,7 @@ export class DrugstoneConfigService { ...@@ -11,6 +11,7 @@ export class DrugstoneConfigService {
public parsingIssueConfig = false; public parsingIssueConfig = false;
public parsingIssueNetwork = false; public parsingIssueNetwork = false;
public parsingIssueGroups = false; public parsingIssueGroups = false;
public gettingNetworkIssue = true;
public groupIssue = false; public groupIssue = false;
public groupIssueList = []; public groupIssueList = [];
public smallStyle = false; public smallStyle = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment