diff --git a/config/param.go b/config/param.go index 950efa2..e6f0ce4 100644 --- a/config/param.go +++ b/config/param.go @@ -14,7 +14,7 @@ var params = []*Param{ }, &Param{ Key: "sortField", - Val: "id", + Val: "state", Label: "Container Sort Field", }, } diff --git a/cwidgets/compact/main.go b/cwidgets/compact/main.go index 8adee57..976917b 100644 --- a/cwidgets/compact/main.go +++ b/cwidgets/compact/main.go @@ -126,6 +126,9 @@ func (row *Compact) SetStatus(val string) { case "paused": row.Status.Text = fmt.Sprintf("%s%s", vBar, vBar) row.Status.TextFgColor = ui.ColorDefault + case "created": + row.Status.Text = mark + row.Status.TextFgColor = ui.ColorDefault default: row.Status.Text = mark row.Status.TextFgColor = ui.ColorRed