Skip to content

Commit

Permalink
#1530 | Use only non-voided dashboard filters during hash computation
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Nov 27, 2024
1 parent b6f67f4 commit 7488747
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function getDashboardCache(service, dashboardUUID) {
}

function getDashboardFiltersHash(dashboard) {
const str = JSON.stringify(dashboard.filters.map((x) => x.filterConfig));
const str = JSON.stringify(dashboard.filters.filter(x => !x.voided).map((x) => x.filterConfig));
return new Hashes.MD5().hex(str);
}

Expand Down

0 comments on commit 7488747

Please sign in to comment.