diff --git a/src/atlasComponents/connectivity/connectivityBrowser/connectivityBrowser.component.ts b/src/atlasComponents/connectivity/connectivityBrowser/connectivityBrowser.component.ts index ffc6727efafb6da3a637f7fd0f5755fedf9a510a..e0e984689063879c1f740d6f239861496b8f71c4 100644 --- a/src/atlasComponents/connectivity/connectivityBrowser/connectivityBrowser.component.ts +++ b/src/atlasComponents/connectivity/connectivityBrowser/connectivityBrowser.component.ts @@ -106,9 +106,10 @@ export class ConnectivityBrowserComponent implements OnInit, AfterViewInit, OnDe this.atlasId = val.context.atlas['@id'] this.parcellationId = val.context.parcellation['@id'] - this.setConnectivityUrl() - this.setProfileLoadUrl() - + if(this.selectedDataset) { + this.setConnectivityUrl() + this.setProfileLoadUrl() + } // TODO may not be necessary this.changeDetectionRef.detectChanges() }