Refresh view when switching views.
This commit is contained in:
@@ -355,13 +355,9 @@ class TimeAnalyticsController {
|
||||
|
||||
this.state.activeView = viewType;
|
||||
|
||||
// Load data for new view if needed
|
||||
if (this.state.data) {
|
||||
this.refreshCurrentView();
|
||||
} else {
|
||||
// Always load new data since different views need different data structures
|
||||
this.loadData();
|
||||
}
|
||||
}
|
||||
|
||||
updateTableView() {
|
||||
const tbody = document.getElementById('entries-tbody');
|
||||
|
||||
Reference in New Issue
Block a user