Skip to content

Commit

Permalink
upgrade to angular v17
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek committed Mar 26, 2024
1 parent 5d69292 commit 36b4e93
Show file tree
Hide file tree
Showing 17 changed files with 2,716 additions and 3,228 deletions.
10 changes: 5 additions & 5 deletions teammapper-frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,23 +78,23 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "teammapper:build",
"proxyConfig": "src/proxy.conf.json"
"proxyConfig": "src/proxy.conf.json",
"buildTarget": "teammapper:build"
},
"configurations": {
"production": {
"browserTarget": "teammapper:build:production"
"buildTarget": "teammapper:build:production"
},
"development": {
"browserTarget": "teammapper:build:development"
"buildTarget": "teammapper:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "teammapper:build"
"buildTarget": "teammapper:build"
}
},
"test": {
Expand Down
2 changes: 1 addition & 1 deletion teammapper-frontend/mmp/src/map/handlers/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ export default class Nodes {
default:
Log.error('The property does not exist')
}

if (graphic === false && updated !== false) {
this.map.history.save()
if(notifyWithEvent) this.map.events.call(Event.nodeUpdate, node.dom, { nodeProperties: this.getNodeProperties(node), changedProperty: property, previousValue })
Expand Down Expand Up @@ -804,6 +803,7 @@ export default class Nodes {
if (graphic === false) {
node.font.size = size
}
return true
} else {
return false
}
Expand Down
Loading

0 comments on commit 36b4e93

Please sign in to comment.