Skip to content

Commit 68c5c84

Browse files
committed
Allows next/prev nav with 1 result
1 parent 25497f4 commit 68c5c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webviews/apps/shared/components/search/search-box.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class GlSearchBox extends GlElement {
153153
resultsLoaded = false;
154154

155155
get hasResults(): boolean {
156-
return this.total > 1;
156+
return this.total >= 1;
157157
}
158158

159159
@query('gl-search-input')

0 commit comments

Comments
 (0)