Skip to content

Commit 0f6863c

Browse files
committed
Fixed empty query
1 parent 8f365e9 commit 0f6863c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/io/kafbat/ui/service/index/FilterTopicIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public FilterTopicIndex(List<InternalTopic> topics) {
1616

1717
@Override
1818
public List<InternalTopic> find(String search, Boolean showInternal, String sort, Integer count) {
19-
if (sort == null || sort.isBlank()) {
19+
if (search == null || search.isBlank()) {
2020
return new ArrayList<>(this.topics);
2121
}
2222
Stream<InternalTopic> stream = topics.stream().filter(topic -> !topic.isInternal()

0 commit comments

Comments
 (0)