Skip to content

Commit

Permalink
Merge pull request #242 from swisstopo/feature/asset-230-bug-rauten-v…
Browse files Browse the repository at this point in the history
…on-studies

Feature 230: Bug - Rauten von Studies
  • Loading branch information
daniel-va authored Jul 25, 2024
2 parents 43b57d5 + 35a035a commit ce37989
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ npm run prisma -- migrate deploy

# Import example data:
cd development
docker compose exec db sh -c 'psql --dbname=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB} -f /dump.sql'
docker compose exec db sh -c 'psql --dbname=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/${POSTGRES_DB} -v ON_ERROR_STOP=1 -f /dump.sql'
```

> You will need to manually sync the data to Elasticsearch via the admin panel in the web UI.
Expand Down
2 changes: 1 addition & 1 deletion libs/asset-viewer/src/lib/services/all-study.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class AllStudyService {
return {
studyId: `study_${id}`,
assetId: parseInt(assetId),
isPoint: Boolean(isPoint),
isPoint: Boolean(parseInt(isPoint)),
centroid: { x: parseFloat(x), y: parseFloat(y) } as LV95,
} as AllStudyDTO;
}),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build": "npx nx run-many -t build -p server-asset-sg client-asset-sg --configuration=production",
"build:server": "npx nx build server-asset-sg --configuration=production",
"build:client": "npx nx build client-asset-sg --configuration=production",
"prisma": "npx dotenv -e apps/server-asset-sg/.env.local -- npx prisma",
"prisma": "npx dotenv -e apps/server-asset-sg/.env -e apps/server-asset-sg/.env.local -- npx prisma",
"test": "npx nx run-many --target=test --all",
"format": "npm run prettier --write . && npm run lint:fix",
"lint": "npx prettier --check . && npx nx run-many --target=lint --all",
Expand Down

0 comments on commit ce37989

Please sign in to comment.