Skip to content

Commit

Permalink
Fix show all changes checkbox state persistance (#4472) (#4476)
Browse files Browse the repository at this point in the history
  • Loading branch information
openslides-automation[bot] authored Dec 10, 2024
1 parent cb41891 commit 48c8c69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@ export abstract class BaseMotionDetailChildComponent extends BaseMeetingComponen

private destroy(): void {
this.cleanSubscriptions();
this.viewService.showAllAmendmentsStateSubject.next(false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export class MotionMetaDataComponent extends BaseMotionDetailChildComponent impl
return null;
}

public override get showAllAmendments(): boolean {
return this.viewService.currentShowAllAmendmentsState;
}

public override set showAllAmendments(is: boolean) {
this.viewService.showAllAmendmentsStateSubject.next(is);
}
Expand Down

0 comments on commit 48c8c69

Please sign in to comment.