diff --git a/src/dashboard/Data/Views/Views.react.js b/src/dashboard/Data/Views/Views.react.js index eb71a0c86..ebb1282a8 100644 --- a/src/dashboard/Data/Views/Views.react.js +++ b/src/dashboard/Data/Views/Views.react.js @@ -81,6 +81,8 @@ class Views extends TableView { } if (this.props.params.name !== nextProps.params.name || this.context !== nextContext) { window.scrollTo({ top: 0 }); + // Clear table state immediately when switching views to prevent data retention + this.setState({ data: [], order: [], columns: {}, tableWidth: 0 }); this.loadData(nextProps.params.name); } }