diff --git a/server/controllers/BlockchainBlock.ts b/server/controllers/BlockchainBlock.ts
index 2431f09..d9cbff7 100644
--- a/server/controllers/BlockchainBlock.ts
+++ b/server/controllers/BlockchainBlock.ts
@@ -1170,7 +1170,7 @@ export class BlockchainBlockController {
blocks.push(parseInt(e.blocks));
});
- if(date.length == 0){
+ if(blockDate.length == 0){
date = [moment(Date.now()).format('YYYY-MM-DD')];
blockDate = [moment(Date.now()).format('YYYY-MM-DD')];
blocks = [0];
diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.html b/src/app/view/home/block-detail-list/block-detail-list.component.html
index fc8b7c5..5d1b50d 100644
--- a/src/app/view/home/block-detail-list/block-detail-list.component.html
+++ b/src/app/view/home/block-detail-list/block-detail-list.component.html
@@ -48,7 +48,7 @@
class="count mb-0"
[ngClass]="latestblockdetail.blink == true ? 'item-highlight' : ''"
>
- {{ latestblockdetail.letest_block_num | number }} {{ latestblockdetail.letest_block_duration | number }}
+ {{ latestblockdetail.letest_block_num | number }} {{ latestblockdetail.letest_block_duration }}