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

potential fix for shared service issue

parent d9b32102
No related branches found
No related tags found
No related merge requests found
{
"name": "netex",
"version": "0.8.3",
"version": "0.8.9-rc1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
......@@ -196,15 +196,8 @@ export class ExplorerPageComponent implements OnInit, AfterViewInit {
public analysis: AnalysisService,
public netex: NetexControllerService) {
this.showDetails = false;
this.analysis.subscribeList(async (items, selected) => {
// while (this.networkEl == null) {
// await setTimeout(() => {
// }, 200);
// }
// if (this.networkEl.nativeElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement.id !== this.id)
// return;
// console.log("subcribe event on " + this.id)
// return if analysis panel is open or no nodes are loaded
if (this.selectedAnalysisToken || !this.nodeData.nodes) {
return;
......
......@@ -44,7 +44,7 @@ export const MULTISTEINER: Algorithm = {slug: 'multisteiner', name: algorithmNam
export const MAX_TASKS = 3;
@Injectable({
providedIn: 'root'
providedIn: 'any'
})
export class AnalysisService {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment