From f112cfa98a6387ad54b56606ee9b3517c7bd7409 Mon Sep 17 00:00:00 2001 From: Benjamin Klaus Date: Wed, 20 Nov 2024 15:41:13 +0100 Subject: [PATCH] don't instantiate GridData class on navigation (performance), #451 --- src/js/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/router.js b/src/js/router.js index 3f70a3ed9..fdb1f63a6 100644 --- a/src/js/router.js +++ b/src/js/router.js @@ -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; }