1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-29 12:15:16 -07:00

Clean up the NewRelic module's API credentials loading

This commit is contained in:
Chris Cummer
2018-07-31 14:17:30 -07:00
parent ddd3eb9625
commit a1c528e4d5
2 changed files with 10 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ func (widget *Widget) Refresh() {
}
widget.UpdateRefreshedAt()
widget.View.SetTitle(fmt.Sprintf("%s- [green]%s[white]", widget.Name, appName))
widget.View.SetTitle(widget.ContextualTitle(fmt.Sprintf("%s - [green]%s[white]", widget.Name, appName)))
widget.View.Clear()
var content string