mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 20:28:40 +00:00
fix: CanRerun
This commit is contained in:
@@ -120,7 +120,7 @@ func ViewPost(ctx *context_module.Context) {
|
|||||||
ID: v.ID,
|
ID: v.ID,
|
||||||
Name: v.Name,
|
Name: v.Name,
|
||||||
Status: v.Status.String(),
|
Status: v.Status.String(),
|
||||||
CanRerun: run.Status.IsDone() && ctx.Repo.CanWrite(unit.TypeActions),
|
CanRerun: v.Status.IsDone() && ctx.Repo.CanWrite(unit.TypeActions),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user