Skip to content

Commit 30a4ab3

Browse files
authored
Frontend - Fix compose pages (#802)
1 parent 577d980 commit 30a4ab3

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

frontend/src/app/core/services/web-node.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export class WebNodeService {
1212
private readonly backendSubject$: BehaviorSubject<any> = new BehaviorSubject<any>(null);
1313
private backend: any;
1414
private webNodeKeyPair: { publicKey: string, privateKey: string };
15-
webNodeState: string = 'notLoaded';
1615

1716
constructor(private http: HttpClient) {
1817
const basex = base('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz');

frontend/src/app/layout/node-picker/node-picker.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ export class NodePickerComponent extends StoreDispatcher implements AfterViewIni
8080
if (node !== this.activeNode) {
8181
this.dispatch2(AppActions.changeActiveNode({ node }));
8282
}
83-
if (node.isWebNode) {
84-
this.webNodeService.webNodeState = 'loading';
85-
}
8683
}
8784

8885
addNode(event: MouseEvent): void {

frontend/src/assets/environments/compose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ export default {
55
features: {
66
dashboard: [],
77
nodes: ['overview', 'live', 'bootstrap'],
8+
'block-production': ['won-slots'],
89
state: ['actions'],
9-
network: ['node-dht', 'graph-overview', 'bootstrap-stats'],
1010
snarks: ['scan-state'],
1111
benchmarks: ['wallets'],
1212
},

frontend/src/environments/environment.compose.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { MinaEnv } from '@shared/types/core/environment/mina-env.type';
22

33
export const environment: Readonly<MinaEnv> = {
44
production: true,
5-
identifier: 'Running in Docker',
5+
identifier: 'Running In Docker',
66
globalConfig: {
77
features: {
88
dashboard: [],
99
nodes: ['overview', 'live', 'bootstrap'],
10+
'block-production': ['won-slots'],
1011
state: ['actions'],
11-
network: ['node-dht', 'graph-overview', 'bootstrap-stats'],
1212
snarks: ['scan-state'],
1313
benchmarks: ['wallets'],
1414
},

0 commit comments

Comments
 (0)