We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46ee44 commit 76313a7Copy full SHA for 76313a7
src/dashboard/Data/Views/Views.react.js
@@ -81,6 +81,8 @@ class Views extends TableView {
81
}
82
if (this.props.params.name !== nextProps.params.name || this.context !== nextContext) {
83
window.scrollTo({ top: 0 });
84
+ // Clear table state immediately when switching views to prevent data retention
85
+ this.setState({ data: [], order: [], columns: {}, tableWidth: 0 });
86
this.loadData(nextProps.params.name);
87
88
0 commit comments