Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
When saving a filter, the filters that are currently loaded in the dashboard are stored, overwriting any other filters that may have been added by other dashboard instances but not yet loaded by the current dashboard instance.
Steps to reproduce
- Open browser tab A to load dashboard.
- Open browser tab B to load dashboard.
- Save a filter a in tab A.
- Save a filter b in same class in tab B.
- Reload tab A --> only filter b is loaded, filter a has been overwritten by the save op in tab B.
Expected Outcome
Saving a filter appears to be storing all filters, but only a new filter should be added. This will prevent any overwrites of filters that have been added but are not loaded yet in the current dashboard.
Environment
Dashboard
- Parse Dashboard version:
7.0.0-alpha.2