Skip to content

Commit

Permalink
fix: FFM upload local dataset start over btn
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Jan 18, 2024
1 parent 855ea4f commit b1a526b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/scripts/manage-dataset/manage-dataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -2710,7 +2710,7 @@ const logFilesForUpload = (upload_folder_path) => {
});
};

const resetUploadLocalDataset = async () => {
window.resetUploadLocalDataset = async () => {
let uploadLocalDatasetParentTab = document.querySelector("#upload_local_dataset_parent-tab");

const { value: result } = await Swal.fire({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2156,7 +2156,7 @@ <h5 style="color: black">Progress</h5>
<button type="button" class="transition-btn prev" data-section="main_tabs">
<i class="fas fa-arrow-left" style="margin-right: 10px"></i>Return
</button>
<button id="reset-local-upload" onclick="resetUploadLocalDataset()" class="start-over">
<button id="reset-local-upload" onclick="window.resetUploadLocalDataset()" class="start-over">
<i class="fas fa-sync-alt" style="margin-right: 10px; font-size: inherit;"></i>
Start over
</button>
Expand Down

0 comments on commit b1a526b

Please sign in to comment.