mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-09-24 07:25:16 -05:00
Merge pull request #331 from jesseduffield/refresh-after-hiding-stopped-containers
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
+1
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user