Skip to content

Commit

Permalink
fix: Docker Commands hidden
Browse files Browse the repository at this point in the history
When only one container running, mistakingly hid the Docker Commands section
  • Loading branch information
mrjackwills committed Jan 5, 2024
1 parent e936bb4 commit 4301e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ impl From<(MutexGuard<'_, AppData>, MutexGuard<'_, GuiState>)> for FrameData {
Self {
columns: data.0.get_width(),
delete_confirm: data.1.get_delete_container(),
has_containers: data.0.get_container_len() > 1,
has_containers: data.0.get_container_len() > 0,
has_error: data.0.get_error(),
height,
help_visible: data.1.status_contains(&[Status::Help]),
Expand Down

0 comments on commit 4301e47

Please # to comment.