fix: enable stopping restarting containers
Show stop for restartig containers, so that if a container is in a restart loop can stop the loop
This commit is contained in:
@@ -160,6 +160,7 @@ impl DockerControls {
|
||||
match state {
|
||||
State::Dead | State::Exited => vec![Self::Start, Self::Restart],
|
||||
State::Paused => vec![Self::Unpause, Self::Stop],
|
||||
State::Restarting => vec![Self::Stop],
|
||||
State::Running => vec![Self::Pause, Self::Restart, Self::Stop],
|
||||
_ => vec![],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user