show future jobs if view runs from schedule

This commit is contained in:
Ruben Fiszel
2024-07-02 10:09:20 +02:00
parent 2043e7699d
commit b8db0db319
2 changed files with 7 additions and 4 deletions

View File

@@ -417,9 +417,9 @@
variant="border"
startIcon={{ icon: List }}
disabled={!allowSchedule || pathError != '' || emptyString(script_path)}
href={`/runs/${script_path}`}
href={`/runs/${script_path}?show_schedules=true&show_future_jobs=true`}
>
View Runs
View runs
</Button>
</div>
<div class="mr-8 center-center -mt-1">

View File

@@ -419,9 +419,12 @@
}
},
{
displayName: 'View Runs',
displayName: 'View runs',
icon: List,
href: '/runs/?schedule_path=' + path
href:
'/runs/?schedule_path=' +
path +
'&show_schedules=true&show_future_jobs=true'
},
{
displayName: 'Audit logs',