Always show channels map in node page - auto zoom on the node

This commit is contained in:
nymkappa
2022-08-05 10:11:29 +02:00
parent f2e50c13b6
commit cb9db0c492
5 changed files with 27 additions and 49 deletions

View File

@@ -19,7 +19,6 @@ export class NodeComponent implements OnInit {
publicKey$: Observable<string>;
selectedSocketIndex = 0;
qrCodeVisible = false;
channelsListMode = 'list';
channelsListStatus: string;
error: Error;
publicKey: string;
@@ -83,14 +82,6 @@ export class NodeComponent implements OnInit {
this.selectedSocketIndex = index;
}
channelsListModeChange(toggle) {
if (toggle === true) {
this.channelsListMode = 'map';
} else {
this.channelsListMode = 'list';
}
}
onChannelsListStatusChanged(e) {
this.channelsListStatus = e;
}