mirror of
https://github.com/penpot/penpot.git
synced 2025-05-15 08:36:37 +02:00
📎 Fix review issues
This commit is contained in:
parent
7a38b08506
commit
4adc5d25a7
2 changed files with 5 additions and 1 deletions
|
@ -467,7 +467,7 @@
|
|||
(let [link (create-element "a")
|
||||
extension (mtype->extension mtype)
|
||||
filename (if (and extension (not (str/ends-with? filename extension)))
|
||||
(str/concat filename "." extension)
|
||||
(str/concat filename extension)
|
||||
filename)]
|
||||
(obj/set! link "href" uri)
|
||||
(obj/set! link "download" filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue