Skip to content

Commit

Permalink
chore: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Nov 13, 2024
1 parent a5373c5 commit e872e97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/utils/ui/index.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export function getDirectoryName(folderPath: string) {
export async function showImagePopoverMenu(pages: OCRPage[], anchor, vertPos = VerticalPosition.BELOW) {
let exportDirectory = ApplicationSettings.getString('image_export_directory', DEFAULT_EXPORT_DIRECTORY);
let exportDirectoryName = exportDirectory;
DEV_LOG && console.log('showImagePopoverMenu', exportDirectoryName);
DEV_LOG && console.log('showImagePopoverMenu', exportDirectoryName, pages.length);
function updateDirectoryName() {
exportDirectoryName = exportDirectory ? getDirectoryName(exportDirectory) : lc('please_choose_export_folder');
}
Expand Down Expand Up @@ -909,6 +909,7 @@ export async function showImagePopoverMenu(pages: OCRPage[], anchor, vertPos = V

closeOnClose: false,
onClose: async (item) => {
DEV_LOG && console.log('showImagePopoverMenu action', item.id);
try {
switch (item.id) {
case 'set_export_directory': {
Expand Down

0 comments on commit e872e97

Please sign in to comment.