From b2df9de2d144ef3d64aa5e7611592a05eade3634 Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Wed, 11 Sep 2024 16:08:38 -0400 Subject: [PATCH] last commit i swear --- www/js/sc_workbench.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/js/sc_workbench.js b/www/js/sc_workbench.js index 12e0bb78..95ff0a20 100644 --- a/www/js/sc_workbench.js +++ b/www/js/sc_workbench.js @@ -88,8 +88,8 @@ const datasetTree = new DatasetTree({ logErrorInConsole(error); } - document.querySelector(UI.primaryInitialInfoSection).classList.remove("is-hidden"); document.querySelector(UI.primaryInitialPlotContainer).classList.remove("is-hidden"); + document.querySelector(UI.primaryInitialLoadingPlotElt).classList.remove("is-hidden"); try { await getDatasetInfo(datasetId); await currentAnalysis.loadPreliminaryFigures(); // depends on dataset.id from getDatasetInfo @@ -101,7 +101,7 @@ const datasetTree = new DatasetTree({ document.querySelector(UI.analysisSelect).disabled = true; // pass } finally { - document.querySelector(UI.primaryInitialPlotContainer).classList.add("is-hidden"); + document.querySelector(UI.primaryInitialLoadingPlotElt).classList.add("is-hidden"); } }) @@ -181,6 +181,7 @@ const getDatasetInfo = async (datasetId) => { currentAnalysis.dataset = ds; + document.querySelector(UI.primaryInitialInfoSection).classList.remove("is-hidden"); document.querySelector(UI.primaryFilterSection).classList.remove("is-hidden"); document.querySelector(UI.selectedDatasetShapeInitialElt).textContent = currentAnalysis.dataset.shape();