Skip to content

Commit

Permalink
don't instantiate GridData class on navigation (performance), #451
Browse files Browse the repository at this point in the history
  • Loading branch information
klues committed Nov 20, 2024
1 parent 3df7f9f commit f112cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Router.toGrid = function (id, props) {
let hash = `#grid/${id}`;

if (_currentView === GridView) {
dataService.getGrid(id).then((gridData) => {
dataService.getGrid(id, false, true).then((gridData) => {
if (!gridData) {
return;
}
Expand Down

0 comments on commit f112cfa

Please sign in to comment.