Skip to content

Commit

Permalink
fix highlight text for columns to be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
Abrar-Ahmed7 committed Feb 10, 2023
1 parent 16709af commit e14c771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/render/iam_user_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type IAMUG struct {

func (iamug IAMUG) Header() Header {
return Header{
HeaderColumn{Name: "Group-Id", SortIndicatorIdx: 5, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false},
HeaderColumn{Name: "Group-Name", SortIndicatorIdx: 5, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false},
HeaderColumn{Name: "Group-Id", SortIndicatorIdx: 6, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false},
HeaderColumn{Name: "Group-Name", SortIndicatorIdx: 6, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false},
HeaderColumn{Name: "ARN", SortIndicatorIdx: -1, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false},
HeaderColumn{Name: "Created-Date", SortIndicatorIdx: 8, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: true},
}
Expand All @@ -24,7 +24,7 @@ func (iamug IAMUG) Render(o interface{}, ns string, row *Row) error {
if !ok {
return fmt.Errorf("Expected iamugResp, but got %T", o)
}

row.ID = ns
row.Fields = Fields{
iamugResp.GroupId,
Expand Down

0 comments on commit e14c771

Please sign in to comment.