mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-23 12:08:43 -06:00
17501 fix showing last run of script execution in list view (#17581)
* 17501 fix showing last run of script job execution in list view * 17501 fix showing last run of script job execution in list view
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for script in module.scripts.all %}
|
||||
{% with last_job=script.get_latest_jobs|get_key:script.name %}
|
||||
{% with last_job=script.get_latest_jobs|first %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if script.is_executable %}
|
||||
|
||||
Reference in New Issue
Block a user