Ghost/ghost/admin/app/models/custom-theme-setting.js
Kevin Ansfield ddac463514 Fixed custom theme settings not showing in groups
no issue

- custom theme model was missing the `group` attr so the nav menu couldn't see it to assign to groups
- changed homepage group from `home` to `homepage` to match gscan
- added fallback to showing in the "Site-wide" group if an unknown group value is seen
2021-10-12 07:36:03 +01:00

11 lines
236 B
JavaScript

import Model, {attr} from '@ember-data/model';
export default Model.extend({
key: attr('string'),
type: attr('string'),
options: attr(),
default: attr('string'),
value: attr('string'),
group: attr('string')
});