mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
9e4704a75f
Pulled out the logic of finding the attachment(s) into a shared function, which will only return an array if there are multiple attachments, otherwise either null or an object will be returned. This fixes an issue where the code assumed that an array meant we have multiple attachments |
||
---|---|---|
.. | ||
public/styles | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
index.html | ||
package.json | ||
playwright.config.mjs | ||
postcss.config.cjs | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.mjs |