OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
detectChanges in timeout of checkbox component
Oliver Günthereb52acf9e1a6
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.ts b/frontend/src/app/shared/components/project-include/project-include.component.tsindex 396357e2459..ab60ddd3d03 100644--- a/frontend/src/app/shared/components/project-include/project-include.component.ts+++ b/frontend/src/app/shared/components/project-include/project-include.component.ts@@ -14,10 +14,8 @@ import {distinctUntilChanged,filter,map,- tap,mergeMap,shareReplay,- skip,take,} from 'rxjs/operators';import { HalResource } from 'core-app/features/hal/resources/hal-resource';diff --git a/frontend/src/app/spot/components/checkbox/checkbox.component.ts b/frontend/src/app/spot/components/checkbox/checkbox.component.tsindex 7f104c83b82..ea5374310d2 100644--- a/frontend/src/app/spot/components/checkbox/checkbox.component.ts+++ b/frontend/src/app/spot/components/checkbox/checkbox.component.ts@@ -8,6 +8,7 @@ import {Output,ViewChild,ChangeDetectionStrategy,+ ChangeDetectorRef,} from '@angular/core';import {ControlValueAccessor,@@ -41,6 +42,10 @@ export class SpotCheckboxComponent implements ControlValueAccessor {@Input() public checked = false;+ constructor(+ readonly cdRef:ChangeDetectorRef,+ ) {}+onStateChange():void {const value = (this.input.nativeElement as HTMLInputElement).checked;this.checkedChange.emit(value);@@ -56,6 +61,7 @@ export class SpotCheckboxComponent implements ControlValueAccessor {input.indeterminate = value === null;this.checked = !!value;+ this.cdRef.detectChanges();});}