diff --git a/helper.go b/helper.go index aa45bca..3386d99 100644 --- a/helper.go +++ b/helper.go @@ -413,9 +413,13 @@ func getImages() []Image { var name string if len(tags) > 0 { name = tags[0] - c := Image{name: name, id: c.ID} - images = append(images, c) + } else { + // dangling image + name = "" } + c := Image{name: name, id: c.ID} + images = append(images, c) + } return images } diff --git a/keys.go b/keys.go index 7493624..1ccf0c5 100644 --- a/keys.go +++ b/keys.go @@ -96,15 +96,15 @@ var keys = keyMap{ ), Page1: key.NewBinding( key.WithKeys("1"), - key.WithHelp("1", "Containers Page"), + key.WithHelp("1", "containers"), ), Page2: key.NewBinding( key.WithKeys("2"), - key.WithHelp("2", "Images Page"), + key.WithHelp("2", "images"), ), Page3: key.NewBinding( key.WithKeys("3"), - key.WithHelp("3", "Volumes Page"), + key.WithHelp("3", "volumes"), ), Toggle: key.NewBinding( key.WithKeys(" ", "enter"),