Skip to content

Commit

Permalink
fix(data-discovering): fix issue where submit button disable state wa…
Browse files Browse the repository at this point in the history
…s not properly handled
  • Loading branch information
FlorentinTh committed Sep 10, 2023
1 parent d54fd6b commit 68ce168
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/scripts/data-discovering.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,14 @@ folderInput.addEventListener('change', async event => {
errorOverlay.show();
return;
}

if ('analysis' in sessionStorage) {
sessionStorage.removeItem('analysis');
}

if (!submitButton.disabled) {
submitButton.setAttribute('disabled', '');
}
} else {
toggleFolderPath();

Expand Down

0 comments on commit 68ce168

Please sign in to comment.