feat: allow overriding filters in dashboards
This commit is contained in:
parent
e361a31c6c
commit
0f94edd87c
1 changed files with 6 additions and 1 deletions
|
|
@ -361,7 +361,12 @@ export default class ChartWidget extends Widget {
|
|||
}
|
||||
];
|
||||
} else {
|
||||
fields = filters.filter(f => f.fieldname);
|
||||
fields = filters
|
||||
.filter(df => df.fieldname)
|
||||
.map(df => {
|
||||
Object.assign(df, df.dashboard_config || {});
|
||||
return df;
|
||||
});
|
||||
}
|
||||
} else {
|
||||
fields = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue