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 authored and ofedoren committed Jan 10, 2024
1 parent 6a5753d commit 48232b2
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 48232b2

Please sign in to comment.