Skip to content

Commit

Permalink
fix(query/custom-result-tab): show tab when there is a query result
Browse files Browse the repository at this point in the history
  • Loading branch information
vitshev committed Jun 11, 2024
1 parent 7de2eb5 commit bf64b2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const useQueryResultTabs = (
} else if (query.state === QueryStatus.COMPLETED) {
const customQueryResultTab = UIFactory.getCustomQueryResultTab();

if (customQueryResultTab) {
if (customQueryResultTab && query.result_count) {
items.unshift({
id: QueryResultTab.CUSTOM_TAB,
title: customQueryResultTab.title,
Expand Down

0 comments on commit bf64b2c

Please # to comment.