mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
ensure we refresh after hiding stopped containers
This commit is contained in:
parent
4f19a66d35
commit
ac1e47766a
3 changed files with 7 additions and 2 deletions
|
|
@ -419,6 +419,11 @@ func (r *removeContainerOption) GetDisplayStrings(isFocused bool) []string {
|
|||
|
||||
func (gui *Gui) handleHideStoppedContainers(g *gocui.Gui, v *gocui.View) error {
|
||||
gui.DockerCommand.ShowExited = !gui.DockerCommand.ShowExited
|
||||
|
||||
if err := gui.refreshContainersAndServices(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ func dutchSet() TranslationSet {
|
|||
EditConfig: "verander de lazydocker configuratie",
|
||||
Cancel: "annuleren",
|
||||
Remove: "verwijder",
|
||||
HideStopped: "Verberg gestopte containers",
|
||||
HideStopped: "verberg gestopte containers",
|
||||
ForceRemove: "geforceerd verwijderen",
|
||||
RemoveWithVolumes: "verwijder met volumes",
|
||||
RemoveService: "verwijder containers",
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ func englishSet() TranslationSet {
|
|||
EditConfig: "edit lazydocker config",
|
||||
Cancel: "cancel",
|
||||
Remove: "remove",
|
||||
HideStopped: "Hide/Show stopped containers",
|
||||
HideStopped: "hide/show stopped containers",
|
||||
ForceRemove: "force remove",
|
||||
RemoveWithVolumes: "remove with volumes",
|
||||
RemoveService: "remove containers",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue