Skip to content

Commit

Permalink
fix: Added no results message using looker API
Browse files Browse the repository at this point in the history
  • Loading branch information
andres-rubio-go committed Oct 9, 2023
1 parent bd92f40 commit ec27ab5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion report_table.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion report_table.js.map

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/report_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,12 @@ looker.plugins.visualizations.add({

// Check for results
if (!data.length) {
renderTableNoResults();
done();
//renderTableNoResults();
//done();
//return;
this.addError({
title: 'No Results',
});
return;
}

Expand Down

0 comments on commit ec27ab5

Please sign in to comment.