Fix duplicate API call spam due to incorrect comparison of view filters
This commit is contained in:
parent
c1333c66db
commit
6916269cbb
|
@ -191,7 +191,7 @@ export const initialise = context => {
|
|||
if ($view?.id !== $datasource.id) {
|
||||
return
|
||||
}
|
||||
if (JSON.stringify($filter) !== JSON.stringify($view.query)) {
|
||||
if (JSON.stringify($filter) !== JSON.stringify($view.queryUI)) {
|
||||
await datasource.actions.saveDefinition({
|
||||
...$view,
|
||||
query: $filter,
|
||||
|
|
Loading…
Reference in New Issue