mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-14 01:35:55 +09:00
fix: CanRerun
This commit is contained in:
1 file changed
+1
-1
@@ -120,7 +120,7 @@ func ViewPost(ctx *context_module.Context) {
|
||||
ID: v.ID,
|
||||
Name: v.Name,
|
||||
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