-
Notifications
You must be signed in to change notification settings - Fork 410
Open
Labels
Description
Describe the bug
When copying a campaign with a due date in the past, I am able to start the campaign.
To Reproduce
Steps to reproduce the behavior:
- Navigate to a campaign with a due date in the past
- Click "COPY CAMPAIGN"
- Navigate to the newly copied campaign
- Fill out all required fields. Don't change the due date
- Click "START THIS CAMPAIGN!"
- Issue: "START THIS CAMPAIGN!" button should be grayed out because the due date is in the past
Expected behavior
When copying a campaign with a due date in the past, the campaign shouldn't be able to be started until the due date is changed to a future date.
Platform (please complete the following information):
- OS: MacOS
- Browser: Chrome
- Desktop
- Version: 102.0.5005.115
Additional context
2 possible solutions:
- Perform data validation on the campaign when opening it
- When copying a campaign, delete the "due date" field if it's in the past
