Skip to content

Commit

Permalink
Merge pull request #21 from auth0/actions-list-tweaks
Browse files Browse the repository at this point in the history
Just minor display tweaks
  • Loading branch information
cyx authored Jan 25, 2021
2 parents 7c15dd4 + 584e624 commit ec6a8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/display/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type actionView struct {
}

func (v *actionView) AsTableHeader() []string {
return []string{"ID", "Name", "Type", "CreatedAt"}
return []string{"ID", "Name", "Type", "Created At"}
}

func (v *actionView) AsTableRow() []string {
Expand All @@ -36,7 +36,7 @@ func (r *Renderer) ActionList(actions []*management.Action) {
res = append(res, &actionView{
ID: auth0.StringValue(a.ID),
Name: auth0.StringValue(a.Name),
CreatedAt: a.CreatedAt.String(),
CreatedAt: timeAgo(auth0.TimeValue(a.CreatedAt)),
Type: strings.Join(triggers, ", "),
// Runtime: auth0.StringValue(a.Runtime),
})
Expand Down

0 comments on commit ec6a8ef

Please sign in to comment.