mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-08 17:05:45 +02:00
fix: CanRerun
This commit is contained in:
parent
6bbce09e7d
commit
8717c428ea
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user