Skip to content

Commit

Permalink
fix floating node bug on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek committed Dec 29, 2023
1 parent b671669 commit eea5612
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
- postgres_prod

postgres_prod:
image: postgres:12-alpine
image: postgres:15-alpine
# Pass config parameters to the postgres server.
# Find more information below when you need to generate the ssl-relevant file your self
# command: -c ssl=on -c ssl_cert_file=/var/lib/postgresql/server.crt -c ssl_key_file=/var/lib/postgresql/server.key
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
- postgres

postgres:
image: postgres:12-alpine
image: postgres:15-alpine
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: ${POSTGRES_DB:-teammapper-backend-dev}
Expand Down
1 change: 1 addition & 0 deletions teammapper-frontend/mmp/src/map/handlers/history.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default class History {
font: Utils.cloneObject(mergedProperty.font) as Font,
link: Utils.cloneObject(mergedProperty.link) as Link,
locked: mergedProperty.locked,
detached: mergedProperty.detached,
isRoot: mergedProperty.isRoot
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export class MmpService implements OnDestroy {
if (this.selectNode()?.detached) {
return;
}

const settings = this.settingsService.getCachedSettings();

if (properties?.colors?.branch) {
Expand Down

0 comments on commit eea5612

Please sign in to comment.