Commit e92311b4 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: image download issue


Co-Authored-By: default avatarClivia <132346501+Yanyutin753@users.noreply.github.com>
parent 594f2f26
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<button <button
class=" p-5" class=" p-5"
on:click={() => { on:click={() => {
downloadImage(src, 'Image.png'); downloadImage(src, src.substring(src.lastIndexOf('/') + 1));
}} }}
> >
<svg <svg
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment