0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🐛 Fix missing Unsplash icons in uploaders when using config override (#829)

no issue
- the `config` injection in `gh-image-uploader` was missing so the Unsplash button was only being displayed for the length of the session after visiting the Unsplash app screen (creates in-memory settings record based on config) or more permanently by saving the Unsplash settings (in which case the image uploader component reads the settings from the DB rather than config)
This commit is contained in:
Kevin Ansfield 2017-08-17 10:19:36 +01:00 committed by Aileen Nowak
parent da6b97ad23
commit 35ec58f915

View file

@ -20,6 +20,7 @@ export const IMAGE_EXTENSIONS = ['gif', 'jpg', 'jpeg', 'png', 'svg'];
export default Component.extend({ export default Component.extend({
ajax: injectService(), ajax: injectService(),
config: injectService(),
notifications: injectService(), notifications: injectService(),
settings: injectService(), settings: injectService(),