mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Added custom theme type to emberdatatypemapping (#18348)
no issue
- added a missing emberDataTypeMapping needed for theme uploads to be
handled correctly
---
<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 40647c6</samp>
Added support for custom theme settings API in Ember Data. Updated
`settings.js` to map the new `CustomThemeSettingsResponseType` to the
store.
This commit is contained in:
parent
6d0da713f0
commit
ac7abb9edd
1 changed files with 3 additions and 1 deletions
|
@ -265,7 +265,9 @@ const emberDataTypeMapping = {
|
|||
SettingsResponseType: {type: 'setting', singleton: true},
|
||||
ThemesResponseType: {type: 'theme'},
|
||||
TiersResponseType: {type: 'tier'},
|
||||
UsersResponseType: {type: 'user'}
|
||||
UsersResponseType: {type: 'user'},
|
||||
CustomThemeSettingsResponseType: {type: 'custom-theme-setting'}
|
||||
|
||||
};
|
||||
|
||||
export default class AdminXSettings extends Component {
|
||||
|
|
Loading…
Add table
Reference in a new issue