diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html
index 4eb95c1ca..c66750f70 100644
--- a/frontend/src/app/dashboard/dashboard.component.html
+++ b/frontend/src/app/dashboard/dashboard.component.html
@@ -1,8 +1,8 @@
-
-
+
+
-
+
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Latest blocks
-
-
-
-
-
- Height |
- Mined |
- Pool |
- TXs |
- Size |
-
+
+
+
-
-
-
-
Latest transactions
-
-
-
-
-
-
-
-
-
+
+
+
+
+
Latest transactions
+
+
+
+
+
+
diff --git a/frontend/src/app/dashboard/dashboard.component.ts b/frontend/src/app/dashboard/dashboard.component.ts
index 910d6a81a..68c4ff35a 100644
--- a/frontend/src/app/dashboard/dashboard.component.ts
+++ b/frontend/src/app/dashboard/dashboard.component.ts
@@ -33,7 +33,6 @@ interface MempoolStatsData {
changeDetection: ChangeDetectionStrategy.OnPush
})
export class DashboardComponent implements OnInit {
- collapseLevel: string;
featuredAssets$: Observable;
network$: Observable;
mempoolBlocksData$: Observable;
@@ -63,7 +62,6 @@ export class DashboardComponent implements OnInit {
this.seoService.resetTitle();
this.websocketService.want(['blocks', 'stats', 'mempool-blocks', 'live-2h-chart']);
this.network$ = merge(of(''), this.stateService.networkChanged$);
- this.collapseLevel = this.storageService.getValue('dashboard-collapsed') || 'one';
this.mempoolLoadingStatus$ = this.stateService.loadingIndicators$
.pipe(
map((indicators) => indicators.mempool !== undefined ? indicators.mempool : 100)
@@ -230,15 +228,4 @@ export class DashboardComponent implements OnInit {
trackByBlock(index: number, block: BlockExtended) {
return block.height;
}
-
- toggleCollapsed() {
- if (this.collapseLevel === 'one') {
- this.collapseLevel = 'two';
- } else if (this.collapseLevel === 'two') {
- this.collapseLevel = 'three';
- } else {
- this.collapseLevel = 'one';
- }
- this.storageService.setValue('dashboard-collapsed', this.collapseLevel);
- }
}