Skip to content

Commit 9876170

Browse files
committed
remove debugging output and also fix javascript version
1 parent c67e0e4 commit 9876170

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Samples-Typescript/Filtering/filtering.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ import {
155155

156156
dashboard.worksheets.forEach(function(worksheet) {
157157
worksheet.getFiltersAsync().then(async (filtersForWorksheet) => {
158-
console.log(filtersForWorksheet);
159158
const filterClearPromises = [];
160159

161160
filtersForWorksheet.forEach(function(filter) {

Samples/Filtering/filtering.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
// Same pattern as in fetchFilters, wait until all promises have finished
146146
// before updating the UI state.
147-
Promise.all(filterClearPromises).then(function () {
147+
Promise.allSettled(filterClearPromises).then(function () {
148148
updateUIState(false);
149149
});
150150
});

0 commit comments

Comments
 (0)