Skip to content

Commit

Permalink
fix schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajsoni19 committed Jan 21, 2025
1 parent e911532 commit 5227d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/views/Campaign.vue
Original file line number Diff line number Diff line change
Expand Up @@ -968,10 +968,10 @@ export default Vue.extend({
this.updateCampaign().then(() => {
// Then start/schedule it.
let status = '';
if (this.canStart) {
status = 'running';
} else if (this.canSchedule) {
if (this.canSchedule) {
status = 'scheduled';
} else if (this.canStart) {
status = 'running';
} else {
return;
}
Expand Down

0 comments on commit 5227d88

Please sign in to comment.