1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

chore: code smells

This commit is contained in:
Ferdinand Mütsch
2021-06-13 10:14:15 +02:00
parent 650fffa344
commit 25464e9519
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ func (f *Filters) One() (bool, uint8, string) {
return true, SummaryEditor, f.Editor
} else if f.Machine != "" {
return true, SummaryMachine, f.Machine
} else if f.Machine != "" {
} else if f.Label != "" {
return true, SummaryLabel, f.Label
}
return false, 0, ""