mirror of
https://github.com/upscayl/upscayl.git
synced 2025-01-18 17:14:08 +01:00
Update renderer/pages/index.tsx
Co-authored-by: NayamAmarshe <nayamamarshe@protonmail.com>
This commit is contained in:
parent
45a69fecd8
commit
1dc313cb7f
@ -276,8 +276,7 @@ const Home = () => {
|
||||
|
||||
if (path !== null) {
|
||||
logit("📢 Selected Image Path: ", path);
|
||||
SetImagePath(path);
|
||||
setFormattedImagePath(formatPath(path));
|
||||
SetImagePath(formatPath(path));
|
||||
var dirname = path.match(/(.*)[\/\\]/)[1] || "";
|
||||
logit("📢 Selected Image Directory: ", dirname);
|
||||
setOutputPath(dirname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user