Use color variable instead of literal for disabled reason
This commit is contained in:
parent
3ed2e49bd9
commit
10e43b5136
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ func (a *App) List(ctx context.Context, limit int, exporter cmdutil.Exporter) er
|
|||
tp.AddField(c.Repository.FullName, nil, nil)
|
||||
tp.AddField(c.branchWithGitStatus(), nil, cs.Cyan)
|
||||
if c.PendingOperation {
|
||||
tp.AddField(c.PendingOperationDisabledReason, nil, cs.Gray)
|
||||
tp.AddField(c.PendingOperationDisabledReason, nil, nameColor)
|
||||
} else {
|
||||
tp.AddField(c.State, nil, stateColor)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue