File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
packages/dashboard/src/helpers Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ ehthumbs.db
88Thumbs.db
99
1010# IDE Specific
11- CLAUDE.local.md
1211.claude
12+ CLAUDE.local.md
1313nbproject
1414.~lock. *
1515.buildpath
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ import { getVizKeys } from './getVizKeys'
77
88export const getApplicableFilters = ( dashboard : Dashboard , key : string | number ) : false | SharedFilter [ ] => {
99 const c = dashboard . sharedFilters ?. filter (
10- sharedFilter => ( sharedFilter . usedBy && sharedFilter . usedBy . indexOf ( `${ key } ` ) !== - 1 ) || sharedFilter . usedBy ?. indexOf ( key ) !== - 1
10+ sharedFilter =>
11+ ( sharedFilter . usedBy && sharedFilter . usedBy . indexOf ( `${ key } ` ) !== - 1 ) || sharedFilter . usedBy ?. indexOf ( key ) !== - 1
1112 )
1213 return c ?. length > 0 ? c : false
1314}
Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ export const getFootnotesVizConfig = (
2626 if ( matchingFilters . length ) {
2727 visualizationConfig . footnotes . data = filterData ( matchingFilters , data )
2828 } else {
29- visualizationConfig . footnotes . data = data
29+ if ( visualizationConfig . footnotes . data ) {
30+ visualizationConfig . footnotes . data = data
31+ }
3032 }
3133
3234 return visualizationConfig
You can’t perform that action at this time.
0 commit comments