to fix a bug when select only one label
This commit is contained in:
parent
0d10b62e08
commit
e33b02e4e4
|
|
@ -86,7 +86,7 @@ func (label *Label) CalQueryString(query []string) {
|
||||||
for _, s := range query {
|
for _, s := range query {
|
||||||
if s == labelID {
|
if s == labelID {
|
||||||
labelSelected = true
|
labelSelected = true
|
||||||
} else {
|
} else if s != "" {
|
||||||
labelQuerySlice = append(labelQuerySlice, s)
|
labelQuerySlice = append(labelQuerySlice, s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user