Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed a bug where settings whould not update

Blue Mouse12255f69dfd7
diff --git a/apps/production/src/project/project.controller.ts b/apps/production/src/project/project.controller.ts
index 8189f289c..f6cb1dee0 100644
--- a/apps/production/src/project/project.controller.ts
+++ b/apps/production/src/project/project.controller.ts
@@ -1724,12 +1724,12 @@ export class ProjectController {
this.projectService.allowedToManage(project, uid, user.roles)
- if (projectDTO.public) {
- project.public = Boolean(projectDTO.public)
+ if (_isBoolean(projectDTO.public)) {
+ project.public = projectDTO.public
}
- if (projectDTO.active) {
- project.active = Boolean(projectDTO.active)
+ if (_isBoolean(projectDTO.active)) {
+ project.active = projectDTO.active
}
if (projectDTO.origins) {