mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-11 23:43:05 +00:00
Reverting updates
This commit is contained in:
parent
0ddf4f6e95
commit
fc1d17b921
@ -47,10 +47,11 @@
|
|||||||
"scripts": [],
|
"scripts": [],
|
||||||
"vendorChunk": true,
|
"vendorChunk": true,
|
||||||
"extractLicenses": false,
|
"extractLicenses": false,
|
||||||
"buildOptimizer": false,
|
"buildOptimizer": true,
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"optimization": false,
|
"optimization": false,
|
||||||
"namedChunks": true
|
"namedChunks": true,
|
||||||
|
"aot": true
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
31
package.json
31
package.json
@ -36,21 +36,22 @@
|
|||||||
"generate-licenses-file": "yarn license-checker --production --csv --out licenses.csv",
|
"generate-licenses-file": "yarn license-checker --production --csv --out licenses.csv",
|
||||||
"prebuildforelectron": "node set-variables-in-env.js --set src/environments/environment.electron.prod.ts",
|
"prebuildforelectron": "node set-variables-in-env.js --set src/environments/environment.electron.prod.ts",
|
||||||
"postbuildforelectron": "node set-variables-in-env.js --unset src/environments/environment.electron.prod.ts",
|
"postbuildforelectron": "node set-variables-in-env.js --unset src/environments/environment.electron.prod.ts",
|
||||||
|
"postinstall": "ngcc --properties es5 browser module main --first-only --create-ivy-entry-points && ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points",
|
||||||
"snyk-protect": "snyk protect",
|
"snyk-protect": "snyk protect",
|
||||||
"prepare": "yarn run snyk-protect"
|
"prepare": "yarn run snyk-protect"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^13.0.0",
|
"@angular/animations": "^11.1.2",
|
||||||
"@angular/cdk": "^13.0.0",
|
"@angular/cdk": "^11.1.2",
|
||||||
"@angular/common": "^13.0.0",
|
"@angular/common": "^11.1.2",
|
||||||
"@angular/compiler": "^13.0.0",
|
"@angular/compiler": "^11.1.2",
|
||||||
"@angular/core": "^13.0.0",
|
"@angular/core": "^11.1.2",
|
||||||
"@angular/forms": "^13.0.0",
|
"@angular/forms": "^11.1.2",
|
||||||
"@angular/material": "^13.0.0",
|
"@angular/material": "^11.1.2",
|
||||||
"@angular/platform-browser": "^13.0.0",
|
"@angular/platform-browser": "^11.1.2",
|
||||||
"@angular/platform-browser-dynamic": "^13.0.0",
|
"@angular/platform-browser-dynamic": "^11.1.2",
|
||||||
"@angular/router": "^13.0.0",
|
"@angular/router": "^11.1.2",
|
||||||
"@sentry/browser": "^6.14.1",
|
"@sentry/browser": "^6.14.1",
|
||||||
"@types/jest": "^27.0.2",
|
"@types/jest": "^27.0.2",
|
||||||
"@types/mocha": "^9.0.0",
|
"@types/mocha": "^9.0.0",
|
||||||
@ -91,10 +92,10 @@
|
|||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^13.0.1",
|
"@angular-devkit/build-angular": "^0.1102.15",
|
||||||
"@angular/cli": "^13.0.1",
|
"@angular/cli": "^11.1.2",
|
||||||
"@angular/compiler-cli": "^13.0.0",
|
"@angular/compiler-cli": "^11.1.2",
|
||||||
"@angular/language-service": "^13.0.0",
|
"@angular/language-service": "^11.1.2",
|
||||||
"@sentry/cli": "^1.71.0",
|
"@sentry/cli": "^1.71.0",
|
||||||
"@sentry/electron": "^2.5.4",
|
"@sentry/electron": "^2.5.4",
|
||||||
"@types/jasmine": "^3.10.2",
|
"@types/jasmine": "^3.10.2",
|
||||||
@ -123,7 +124,7 @@
|
|||||||
"ts-node": "~10.4.0",
|
"ts-node": "~10.4.0",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.18.0",
|
"tslint-config-prettier": "^1.18.0",
|
||||||
"typescript": "4.4.2",
|
"typescript": "4.1.2",
|
||||||
"webpack": "5.62.1",
|
"webpack": "5.62.1",
|
||||||
"yarn-upgrade-all": "^0.5.4"
|
"yarn-upgrade-all": "^0.5.4"
|
||||||
},
|
},
|
||||||
|
@ -220,7 +220,8 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
|
|||||||
async lazyLoadTopologySummary() {
|
async lazyLoadTopologySummary() {
|
||||||
if (this.isTopologySummaryVisible) {
|
if (this.isTopologySummaryVisible) {
|
||||||
const {TopologySummaryComponent} = await import('../topology-summary/topology-summary.component');
|
const {TopologySummaryComponent} = await import('../topology-summary/topology-summary.component');
|
||||||
this.instance = this.topologySummaryContainer.createComponent(TopologySummaryComponent);
|
const componentFactory = this.cfr.resolveComponentFactory(TopologySummaryComponent);
|
||||||
|
this.instance = this.topologySummaryContainer.createComponent(componentFactory, null, this.injector);
|
||||||
this.instance.instance.server = this.server;
|
this.instance.instance.server = this.server;
|
||||||
this.instance.instance.project = this.project;
|
this.instance.instance.project = this.project;
|
||||||
} else if (this.instance) {
|
} else if (this.instance) {
|
||||||
|
Loading…
Reference in New Issue
Block a user