Skip to content

Commit

Permalink
Modified getFiles to exclude *all* hidden files
Browse files Browse the repository at this point in the history
AdjustSpec Dims when first entering Explore mode
  • Loading branch information
Mattk70 committed Oct 3, 2024
1 parent 056b977 commit 0b003b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -1859,8 +1859,7 @@ const setUpWorkerMessaging = () => {
// change header to indicate activation
DOM.resultHeader.classList.remove('text-bg-secondary');
DOM.resultHeader.classList.add('text-bg-dark');
// PREDICTING = false;
// STATE.analysisDone = true;
adjustSpecDims(true)
} else {
disableMenuItem(['purge-file']);
// change header to indicate deactivation
Expand Down
2 changes: 1 addition & 1 deletion js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ const getFiles = async (files, image) => {
file_list = [...file_list,...dirFiles]
} else {
const filename = p.basename(path)
filename.startsWith('._') || file_list.push(path)
filename.startsWith('.') || file_list.push(path) // Exclude hidden files
}
}
// filter out unsupported files
Expand Down

0 comments on commit 0b003b8

Please sign in to comment.