Skip to content

Commit

Permalink
Merge pull request #215 from lblod/bugfix/correctly-set-default-on-tr…
Browse files Browse the repository at this point in the history
…eatment

correctly set the default for "openbaar" on treatment
  • Loading branch information
nvdk committed Nov 18, 2021
2 parents 33dbd5c + 2eaad88 commit adbb3b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/agenda-manager/agenda-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default class AgendaManagerAgendaContextComponent extends Component {
if (item.isNew) {
const zitting = yield this.store.findRecord("zitting", this.args.zittingId);
this.setProperty(item, "zitting", zitting);
this.setProperty(treatment, "openbaar", item.geplandOpenbaar);
}

yield this.updatePositionTask.unlinked().perform(item);
Expand Down

0 comments on commit adbb3b7

Please sign in to comment.