Skip to content

Commit

Permalink
Fixes #37036 - Hide next occurrence unless RL is active
Browse files Browse the repository at this point in the history
in API
  • Loading branch information
adamruzicka committed Jan 8, 2024
1 parent c8b5b99 commit 96a6f84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ attributes :id, :cron_line, :end_time, :iteration, :task_group_id, :state,
node(:task_count) { |rl| rl.tasks.count }
node(:action) { |rl| rl.tasks.first.try(:action) }
node(:last_occurence) { |rl| rl.last_task&.started_at }
node(:next_occurence) { |rl| rl.next_task&.start_at }
node(:next_occurence) { |rl| rl.next_task&.start_at if rl.state == 'active' }

0 comments on commit 96a6f84

Please sign in to comment.