Skip to content

Commit

Permalink
fix: 🐛 reverted manifest flow to prev from 12.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobiClark committed Aug 18, 2023
1 parent f028fd3 commit c3583d6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts/metadata-files/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand All @@ -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"] = {};
Expand Down

0 comments on commit c3583d6

Please sign in to comment.