do not show push cmd in wrong tabs

This commit is contained in:
Stephan Dilly 2020-10-11 00:56:31 +02:00
parent 1cc1884162
commit 23ccee002b

View file

@ -406,7 +406,7 @@ impl Component for Status {
out.push(CommandInfo::new(
strings::commands::status_push(&self.key_config),
self.index_wd.branch_name().is_some(),
true,
self.visible || force_all,
));
out.push(