Skip to content

Commit 0543159

Browse files
authored
Fix action runner last online state on edit page (#25337)
Backport fix for action runner last online state not showing in `release/v1.20` - fixes #25336
1 parent aa4c9c3 commit 0543159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/actions/runner_edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
<div class="field gt-dib gt-mr-4">
1515
<label>{{.locale.Tr "actions.runners.last_online"}}</label>
16-
<span>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
16+
<span>{{if .Runner.LastOnline}}{{TimeSinceUnix .Runner.LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</span>
1717
</div>
1818
<div class="field gt-dib gt-mr-4">
1919
<label>{{.locale.Tr "actions.runners.agent_labels"}}</label>

0 commit comments

Comments
 (0)