Edit: I think I linked to a specific branch/tag, but as of 2025-03-14 it is also like this in the main branch.
|
previewImage(fileChooser.files[0]); |

|
function previewImage(fileChooser) { |

Either the wrong argument is passed when calling previewImage or it should be a call directly to showPreviewImage because as written, you get an exception

Edit: I think I linked to a specific branch/tag, but as of 2025-03-14 it is also like this in the main branch.
CodeProject.AI-Server/src/server/wwwroot/assets/explorer.js
Line 1157 in 08c8e4c
CodeProject.AI-Server/src/server/wwwroot/assets/explorer.js
Line 172 in 08c8e4c
Either the wrong argument is passed when calling previewImage or it should be a call directly to showPreviewImage because as written, you get an exception