Skip to content

Commit

Permalink
fix: fix Jira module title formatting
Browse files Browse the repository at this point in the history
Closes wtfutil#942. Filing to get the ball rolling, happy to change anything.
  • Loading branch information
timhwang21 committed Jul 29, 2020
1 parent 5d0781f commit b6d5cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/jira/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Settings struct {
domain string `help:"Your Jira corporate domain."`
email string `help:"The email address associated with your Jira account (or username for basic auth)."`
jql string `help:"Custom JQL to be appended to the search query." values:"See Search Jira like a boss with JQL for details." optional:"true"`
projects []string `help:"An array of projects to get data from"`
project []string `help:"An array of projects to get data from"`
username string `help:"Your Jira username."`
verifyServerCertificate bool `help:"Determines whether or not the server’s certificate chain and host name are verified." values:"true or false" optional:"true"`
}
Expand Down
2 changes: 1 addition & 1 deletion modules/jira/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (widget *Widget) content() (string, string, bool) {
return widget.CommonSettings().Title, widget.err.Error(), true
}

title := fmt.Sprintf("%s- [green]%s[white]", widget.CommonSettings().Title, widget.settings.projects)
title := widget.CommonSettings().Title

str := fmt.Sprintf(" [%s]Assigned Issues[white]\n", widget.settings.common.Colors.Subheading)

Expand Down

0 comments on commit b6d5cc0

Please sign in to comment.