Skip to content

Commit aab1532

Browse files
committed
add support for console log filtering #747 WIP fix regressions
1 parent 23c45ce commit aab1532

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

web-client/src/components/SrPlotConfig.vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,19 @@ async function onMainYDataSelectionChange(_newValue: string[]) {
7979
// This is necessary because the column order in the data array changes when Y data selection changes,
8080
// and the cached index in color functions becomes stale
8181
const api = recTreeStore.findApiForReqId(props.reqId)
82-
if (api === 'atl03x' || api === 'atl03s' || api === 'atl03sp') {
82+
if (api.includes('atl03')) {
8383
const { useAtl03CnfColorMapStore } = await import('@/stores/atl03CnfColorMapStore')
8484
const atl03CnfStore = await useAtl03CnfColorMapStore(props.reqId.toString())
8585
atl03CnfStore.resetColorCache()
8686
logger.debug('Reset atl03_cnf color cache due to Y data selection change')
8787
}
88-
if (
89-
api === 'atl03x' ||
90-
api === 'atl03s' ||
91-
api === 'atl03sp' ||
92-
api === 'atl08' ||
93-
api === 'atl08p'
94-
) {
88+
if (api.includes('atl03') || api.includes('atl08')) {
9589
const { useAtl08ClassColorMapStore } = await import('@/stores/atl08ClassColorMapStore')
9690
const atl08ClassStore = await useAtl08ClassColorMapStore(props.reqId.toString())
9791
atl08ClassStore.resetAtl08ClassColorCaches()
9892
logger.debug('Reset atl08_class color cache due to Y data selection change')
9993
}
100-
if (api === 'atl03x' || api.includes('atl24')) {
94+
if (api.includes('atl03') || api.includes('atl24')) {
10195
const { useAtl24ClassColorMapStore } = await import('@/stores/atl24ClassColorMapStore')
10296
const atl24ClassStore = await useAtl24ClassColorMapStore(props.reqId.toString())
10397
atl24ClassStore.resetAtl24ClassColorCaches()

0 commit comments

Comments
 (0)