Skip to content

Commit

Permalink
remove debugging output and also fix javascript version
Browse files Browse the repository at this point in the history
  • Loading branch information
johnDance committed Aug 30, 2021
1 parent c67e0e4 commit 9876170
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Samples-Typescript/Filtering/filtering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ import {

dashboard.worksheets.forEach(function(worksheet) {
worksheet.getFiltersAsync().then(async (filtersForWorksheet) => {
console.log(filtersForWorksheet);
const filterClearPromises = [];

filtersForWorksheet.forEach(function(filter) {
Expand Down
2 changes: 1 addition & 1 deletion Samples/Filtering/filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

// Same pattern as in fetchFilters, wait until all promises have finished
// before updating the UI state.
Promise.all(filterClearPromises).then(function () {
Promise.allSettled(filterClearPromises).then(function () {
updateUIState(false);
});
});
Expand Down

0 comments on commit 9876170

Please sign in to comment.