Lightning channel
diff --git a/frontend/src/app/lightning/channel/channel.component.ts b/frontend/src/app/lightning/channel/channel.component.ts
index 379e8a005..d57aa3f01 100644
--- a/frontend/src/app/lightning/channel/channel.component.ts
+++ b/frontend/src/app/lightning/channel/channel.component.ts
@@ -38,7 +38,9 @@ export class ChannelComponent implements OnInit {
}),
catchError((err) => {
this.error = err;
- return of(null);
+ return [{
+ short_id: params.get('short_id')
+ }];
})
);
}),
diff --git a/frontend/src/app/lightning/node/node.component.html b/frontend/src/app/lightning/node/node.component.html
index 575614c10..1519eb1da 100644
--- a/frontend/src/app/lightning/node/node.component.html
+++ b/frontend/src/app/lightning/node/node.component.html
@@ -1,15 +1,18 @@
-
Lightning node
-
-
{{ node.alias }}
-
-
-
-
-
+
+
+ Lightning node
+
+
{{ node.alias }}
+
+
+
+
+
+
-
-
+
+
From 9a246c68de699675d3ddead751ef8d5c23d1ae57 Mon Sep 17 00:00:00 2001
From: nymkappa <1612910616@pm.me>
Date: Sat, 25 Feb 2023 13:43:48 +0900
Subject: [PATCH 2/2] Center wrapping error message on mobile
---
frontend/src/app/lightning/channel/channel.component.html | 2 +-
frontend/src/app/lightning/node/node.component.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/app/lightning/channel/channel.component.html b/frontend/src/app/lightning/channel/channel.component.html
index 96af4ab67..951cb8090 100644
--- a/frontend/src/app/lightning/channel/channel.component.html
+++ b/frontend/src/app/lightning/channel/channel.component.html
@@ -20,7 +20,7 @@
- No channel found for short id "{{ channel.short_id }}"
+ No channel found for short id "{{ channel.short_id }}"
- No node found for public key "{{ node.public_key | shortenString : 12}}"
+ No node found for public key "{{ node.public_key | shortenString : 12}}"