Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yjf2002ghty authored Mar 24, 2024
1 parent 113e656 commit 9cfdbff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,9 @@ const onSelectPositionVariantsFile = async (e) => {
const reader = new FileReader();
reader.onload = function () {
console.log(reader.result);
LoadPositionVariant("client", reader.result);
if (LoadPositionVariant("client", reader.result)) {
UpdateVariantsPositionTypeDropdown();
}
};
reader.readAsText(selected);
}
Expand Down

0 comments on commit 9cfdbff

Please sign in to comment.