Skip to content

fix: allow closing campaign after any finalized round#408

Open
ademolaomosanya wants to merge 1 commit intohatnote:masterfrom
ademolaomosanya:fix/issue-143
Open

fix: allow closing campaign after any finalized round#408
ademolaomosanya wants to merge 1 commit intohatnote:masterfrom
ademolaomosanya:fix/issue-143

Conversation

@ademolaomosanya
Copy link

pr fixes #143

the changes addresses:

  • Campaign can be closed after the last round is finalized, even when that round is yes/no or rating (not only ranking) and If there’s still an active round, it must be finalized and also if there’s no active round but at least one finalized round, the campaign can be closed.
  • “Close campaign” button is shown only when the campaign can be closed (canCloseCampaign), then success message is sent (“Campaign closed.”) after a successful close.
  • Fixed template typo: rroundResults → roundResults so the cancelled-tasks value renders and the Vue warning goes away.

BEFORE
ScreenRecording2026-03-10at14 00 09-ezgif com-video-to-gif-converter

AFTER
ezgif com-video-to-gif-converter

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.

Allow closing/finalizing the campaign after any round

1 participant