Commit 2728b05
committed
fix(webapp): skip cron back-calc for inactive schedules in list
ScheduleListPresenter was deriving "Last run" via cron's previous slot
even for deactivated schedules, causing the dashboard to show "1 minute
ago" for a schedule that was actually deactivated months ago.
Gate the cron back-calc on `schedule.active`. Inactive schedules now
show "–" in the Last run cell, matching the semantic that they aren't
firing.
Per Devin review on PR #3476.1 parent be6e27f commit 2728b05
1 file changed
Lines changed: 17 additions & 13 deletions
Lines changed: 17 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
253 | 254 | | |
254 | | - | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
264 | 268 | | |
265 | 269 | | |
266 | 270 | | |
| |||
0 commit comments