Skip to content

Commit

Permalink
fix (#739)
Browse files Browse the repository at this point in the history
* fix

* fix

---------

Co-authored-by: nabeelmd-eGov <nabeel.md@egovernments.com>
  • Loading branch information
nabeelmd-eGov and nabeelmd-eGov authored May 29, 2024
1 parent 3086a12 commit 3caf799
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,19 @@ const MyCampaign = () => {
switch (currentTab) {
case "CAMPAIGN_ONGOING":
history.push(`/${window.contextPath}/employee/campaign/setup-campaign?id=${row.id}&preview=${true}&action=${false}`);
break;
case "CAMPAIGN_COMPLETED":
history.push(`/${window.contextPath}/employee/campaign/setup-campaign?id=${row.id}&preview=${true}&action=${false}`);
break;
case "CAMPAIGN_UPCOMING":
history.push(`/${window.contextPath}/employee/campaign/setup-campaign?id=${row.id}&preview=${true}&action=${false}`);
break;
case "CAMPAIGN_DRAFTS":
history.push(`/${window.contextPath}/employee/campaign/setup-campaign?id=${row.id}&draft=${true}&fetchBoundary=${true}`);
break;
case "CAMPAIGN_FAILED":
history.push(`/${window.contextPath}/employee/campaign/setup-campaign?id=${row.id}&preview=${true}&action=${false}`);
break;
default:
break;
}
Expand Down

0 comments on commit 3caf799

Please sign in to comment.