From c3583d6da35e19e4318ef3599784ea3afda2c055 Mon Sep 17 00:00:00 2001 From: Jacob Clark Date: Fri, 18 Aug 2023 10:46:35 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20reverted=20manifest=20flo?= =?UTF-8?q?w=20to=20prev=20from=2012.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/metadata-files/manifest.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/metadata-files/manifest.js b/scripts/metadata-files/manifest.js index f415a6ff5..4a74964a4 100644 --- a/scripts/metadata-files/manifest.js +++ b/scripts/metadata-files/manifest.js @@ -800,7 +800,7 @@ const convertJSONToXlsx = (jsondata, excelfile) => { const determineStandaloneManifestGeneratorOrigin = () => { const selectedCardCreateManifest = $('input[name="generate-manifest-1"]:checked').prop("id"); - return selectedCardCreateManifest === "generate-manifest-from-Penn" ? "bf" : "Local"; + return selectedCardCreateManifest === "generate-manifest-from-Penn" ? "bf" : "local"; }; var localDatasetFolderPath = ""; @@ -815,11 +815,9 @@ const generateManifestPrecheck = async (manifestEditBoolean, ev) => { let localManifestGeneratePath = document.querySelector( "#input-manifest-local-gen-location" ).placeholder; - let selectedCardCreateManifest = $('input[name="generate-manifest-1"]:checked').prop("id"); pennsievePreview = false; - - // check if manifest is being generated from Pennsieve const type = determineStandaloneManifestGeneratorOrigin(); + exitCurate(); sodaJSONObj["starting-point"] = {}; sodaJSONObj["dataset-structure"] = {};