forked from kemitix/git-next
fix(tui): alerts are cleared on next repo update
Closes kemitix/git-next#151
This commit is contained in:
parent
8ca7aad3c3
commit
1f0b5e867c
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ impl Handler<ServerUpdate> for Tui {
|
||||||
let Some(repo_state) = forge_state.repos.get_mut(&repo_alias) else {
|
let Some(repo_state) = forge_state.repos.get_mut(&repo_alias) else {
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
repo_state.clear_alert();
|
||||||
match repo_update {
|
match repo_update {
|
||||||
RepoUpdate::Branches { branches } => {
|
RepoUpdate::Branches { branches } => {
|
||||||
repo_state.update_branches(branches);
|
repo_state.update_branches(branches);
|
||||||
|
|
Loading…
Reference in a new issue