chore: Preserve native filters selection after refresh (#15583)

This commit is contained in:
Michael S. Molina
2021-07-13 15:14:18 -03:00
committed by GitHub
parent 02032ee8a4
commit e6bbca3f61
11 changed files with 125 additions and 87 deletions

View File

@@ -91,7 +91,7 @@ describe('getChartIdsFromLayout', () => {
},
});
expect(urlWithNativeFilters).toBe(
'path?preselect_filters=%7B%7D&native_filters=%28NATIVE_FILTER-bar456%3A%21n%2CNATIVE_FILTER-foo123%3A%21%28a%2Cb%29%29',
'path?preselect_filters=%7B%7D&native_filters=%28NATIVE_FILTER-bar456%3A%28filterState%3A%28value%3A%21n%29%29%2CNATIVE_FILTER-foo123%3A%28filterState%3A%28label%3A%27custom+label%27%2Cvalue%3A%21%28a%2Cb%29%29%29%29',
);
});
});