From f8fbef78bf79afff6c2cd8863c3b6a5605ca1baa Mon Sep 17 00:00:00 2001 From: Mononaut Date: Fri, 9 Sep 2022 19:01:32 +0000 Subject: [PATCH] Disable block viz/map loading spinners on previews --- .../block-overview-graph/block-overview-graph.component.html | 2 +- .../block-overview-graph/block-overview-graph.component.ts | 1 + frontend/src/app/components/block/block-preview.component.html | 3 ++- .../src/app/lightning/channel/channel-preview.component.html | 2 +- frontend/src/app/lightning/node/node-preview.component.html | 2 +- .../nodes-channels-map/nodes-channels-map.component.html | 2 +- .../nodes-channels-map/nodes-channels-map.component.ts | 1 + 7 files changed, 8 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/components/block-overview-graph/block-overview-graph.component.html b/frontend/src/app/components/block-overview-graph/block-overview-graph.component.html index 517eab653..782cbe25e 100644 --- a/frontend/src/app/components/block-overview-graph/block-overview-graph.component.html +++ b/frontend/src/app/components/block-overview-graph/block-overview-graph.component.html @@ -1,6 +1,6 @@
-
+
diff --git a/frontend/src/app/components/block-overview-graph/block-overview-graph.component.ts b/frontend/src/app/components/block-overview-graph/block-overview-graph.component.ts index 7309a0a85..4cc465ad7 100644 --- a/frontend/src/app/components/block-overview-graph/block-overview-graph.component.ts +++ b/frontend/src/app/components/block-overview-graph/block-overview-graph.component.ts @@ -17,6 +17,7 @@ export class BlockOverviewGraphComponent implements AfterViewInit, OnDestroy { @Input() blockLimit: number; @Input() orientation = 'left'; @Input() flip = true; + @Input() disableSpinner = false; @Output() txClickEvent = new EventEmitter(); @Output() readyEvent = new EventEmitter(); diff --git a/frontend/src/app/components/block/block-preview.component.html b/frontend/src/app/components/block/block-preview.component.html index 38018bbb4..8d7852769 100644 --- a/frontend/src/app/components/block/block-preview.component.html +++ b/frontend/src/app/components/block/block-preview.component.html @@ -10,7 +10,7 @@
- {{blockHash.slice(0,-4)}}{{blockHash.slice(-4)}} + {{blockHash.slice(0,-4)}}{{blockHash.slice(-4)}}