fix
This commit is contained in:
parent
efc4ec1f90
commit
d6e7bbba2b
2 changed files with 1 additions and 2 deletions
|
@ -112,7 +112,6 @@ func (c *Cli) InputBox(title string, input string, hidden bool) string {
|
|||
|
||||
func (c *Cli) EntryBox(entry Entry) {
|
||||
p := widgets.NewParagraph()
|
||||
p.Title = "Entry"
|
||||
p.SetRect(25, 0, 80, 20)
|
||||
p.Text = fmt.Sprintf("%s[Name:](fg:yellow) %s\n", p.Text, entry.Name)
|
||||
p.Text = fmt.Sprintf("%s[Group:](fg:yellow) %s\n", p.Text, entry.Group)
|
||||
|
|
|
@ -117,7 +117,7 @@ func (w *Wallet) Groups() []string {
|
|||
}
|
||||
}
|
||||
|
||||
if exist == false {
|
||||
if exist == false && entry.Group != "" {
|
||||
groups = append(groups, entry.Group)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue