Skip to content
Snippets Groups Projects
Commit 5fba4a51 authored by fsdavid's avatar fsdavid
Browse files

Navigate on connectd area click

parent 22cb329a
No related branches found
No related tags found
No related merge requests found
......@@ -277,10 +277,6 @@ export class ConnectivityBrowserComponent implements OnInit, AfterViewInit, OnDe
)
this.subscriptions.push(
fromEvent(this.connectivityComponentElement?.nativeElement, 'collapsedMenuChanged', {capture: true})
.subscribe((e: CustomEvent) => {
this.expandMenuIndex = e.detail
}),
fromEvent(this.connectivityComponentElement?.nativeElement, 'customToolEvent', {capture: true})
.subscribe((e: CustomEvent) => {
if (e.detail.name === 'export csv') {
......@@ -289,6 +285,10 @@ export class ConnectivityBrowserComponent implements OnInit, AfterViewInit, OnDe
a.downloadCSV()
}
}),
fromEvent(this.connectivityComponentElement?.nativeElement, 'connectedRegionClicked', {capture: true})
.subscribe((e: CustomEvent) => {
this.navigateToRegion(e.detail.name)
}),
)
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment