Bug fix.
This commit is contained in:
parent
94d2976e6c
commit
8dc0eb24d8
@ -74,8 +74,7 @@
|
|||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
"options": {
|
"options": {
|
||||||
"browserTarget": "cic-staff-client:build",
|
"browserTarget": "cic-staff-client:build"
|
||||||
"disableHostCheck": true
|
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
@ -16,7 +16,7 @@ export class AppComponent implements OnInit {
|
|||||||
private transactionService: TransactionService,
|
private transactionService: TransactionService,
|
||||||
private blockSyncService: BlockSyncService
|
private blockSyncService: BlockSyncService
|
||||||
) {
|
) {
|
||||||
this.blockSyncService.blockSync();
|
// this.blockSyncService.blockSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
@ -29,13 +29,13 @@ export class AppComponent implements OnInit {
|
|||||||
const sidebar = document.getElementById('sidebar');
|
const sidebar = document.getElementById('sidebar');
|
||||||
const content = document.getElementById('content');
|
const content = document.getElementById('content');
|
||||||
const sidebarCollapse = document.getElementById('sidebarCollapse');
|
const sidebarCollapse = document.getElementById('sidebarCollapse');
|
||||||
sidebarCollapse.classList.remove('active');
|
sidebarCollapse?.classList.remove('active');
|
||||||
if (e.matches) {
|
if (e.matches) {
|
||||||
sidebar.classList.add('active');
|
sidebar?.classList.add('active');
|
||||||
content.classList.add('active');
|
content?.classList.add('active');
|
||||||
} else {
|
} else {
|
||||||
sidebar.classList.remove('active');
|
sidebar?.classList.remove('active');
|
||||||
content.classList.remove('active');
|
content?.classList.remove('active');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ export const environment = {
|
|||||||
production: true,
|
production: true,
|
||||||
cicCacheUrl: 'http://localhost:5555',
|
cicCacheUrl: 'http://localhost:5555',
|
||||||
cicScriptsUrl: 'http://localhost:9999',
|
cicScriptsUrl: 'http://localhost:9999',
|
||||||
web3Provider: 'ws://localhost:63545',
|
web3Provider: 'http://localhost:63545',
|
||||||
cicUssdUrl: 'http://localhost:63315',
|
cicUssdUrl: 'http://localhost:63315',
|
||||||
cicEthUrl: 'http://localhost:63314',
|
cicEthUrl: 'http://localhost:63314',
|
||||||
contractAddress: '0x35Ef60C4624Eaf6AeEBeBec9Ddd3CBA6b24C4b17',
|
contractAddress: '0x35Ef60C4624Eaf6AeEBeBec9Ddd3CBA6b24C4b17',
|
||||||
|
@ -6,7 +6,7 @@ export const environment = {
|
|||||||
production: false,
|
production: false,
|
||||||
cicCacheUrl: 'http://localhost:5555',
|
cicCacheUrl: 'http://localhost:5555',
|
||||||
cicScriptsUrl: 'http://localhost:9999',
|
cicScriptsUrl: 'http://localhost:9999',
|
||||||
web3Provider: 'ws://localhost:63545',
|
web3Provider: 'http://localhost:63545',
|
||||||
cicUssdUrl: 'http://localhost:63315',
|
cicUssdUrl: 'http://localhost:63315',
|
||||||
cicEthUrl: 'http://localhost:63314',
|
cicEthUrl: 'http://localhost:63314',
|
||||||
contractAddress: '0x35Ef60C4624Eaf6AeEBeBec9Ddd3CBA6b24C4b17',
|
contractAddress: '0x35Ef60C4624Eaf6AeEBeBec9Ddd3CBA6b24C4b17',
|
||||||
|
@ -15,9 +15,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="mat-typography">
|
<body class="mat-typography">
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
<!-- <script async src="assets/js/block-sync/web3.min.js"></script>-->
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
||||||
<!-- <script async src="assets/js/block-sync/cic-client.web.js"></script>-->
|
|
||||||
<script async src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
||||||
<script async src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
<script async src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
||||||
<script async src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
|
<script async src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user