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:
parent
da6b97ad23
commit
35ec58f915
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ export const IMAGE_EXTENSIONS = ['gif', 'jpg', 'jpeg', 'png', 'svg'];
|
|||
|
||||
export default Component.extend({
|
||||
ajax: injectService(),
|
||||
config: injectService(),
|
||||
notifications: injectService(),
|
||||
settings: injectService(),
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue