From 8ce9c6be46332268c208346c5a4b3b4c611d464e Mon Sep 17 00:00:00 2001 From: Philemon Ukane Date: Thu, 6 Jun 2024 00:48:40 +0100 Subject: [PATCH] fix side block api link on the block view Signed-off-by: Philemon Ukane --- cmd/dcrdata/views/block.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/dcrdata/views/block.tmpl b/cmd/dcrdata/views/block.tmpl index 817d042db..d7f53c7b3 100644 --- a/cmd/dcrdata/views/block.tmpl +++ b/cmd/dcrdata/views/block.tmpl @@ -46,7 +46,11 @@ {{- else }} mempool | {{- end}} + {{if .MainChain}} api + {{- else}} + api + {{- end}}