fix(tui): alerts are cleared on next repo update
All checks were successful
Rust / build (push) Successful in 8m54s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m21s
All checks were successful
Rust / build (push) Successful in 8m54s
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Release Please / Release-plz (push) Successful in 1m21s
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