added a check to not show an error when load next page of tags

This commit is contained in:
Thomas Eppers 2021-10-27 14:10:07 +02:00
parent d608fe6b50
commit 74006af796

View File

@ -122,6 +122,7 @@ impl Ui {
State::SelectTag => {
let mut repo = ui.repo.get();
let tag = match ui.tags.get_selected() {
Err(tag_list::Error::NextPageSelected) => continue,
Err(e) => {
ui.info.set_info(&format!("{}", e));
continue;