Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMB-339 | Set effectiefAt when publication status is switched to effectief #328

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

JonasVanHoof
Copy link
Contributor

Description

Set effectiefAt when publication status is switched to effectief

How to test

Switch the publication status to effectief throught the publication status selector

Links to other PR's

@JonasVanHoof JonasVanHoof self-assigned this Sep 19, 2024
@JonasVanHoof JonasVanHoof changed the base branch from master to karel/lmb-521-send-notifications September 19, 2024 07:59
Comment on lines +61 to +63
if (publicationStatus?.uri === MANDATARIS_DRAFT_PUBLICATION_STATE) {
this.args.mandataris.effectiefAt = null;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is done so when switching to bekrachtigd status this value is not removed, onlt when setting back to draft status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant