mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
62e58b0366
no issue On the apps index screen there were conditionals for each app so that active apps show "Active" instead of "Configure" when they are activated - the conditionals weren't working because the properties they check for weren't available in the template's context. - add a new `settings/apps/index` controller that imports the `settings` service - updates template conditionals to check for properties on the `settings` service
7 lines
170 B
JavaScript
7 lines
170 B
JavaScript
import Controller from '@ember/controller';
|
|
import {inject as injectService} from '@ember/service';
|
|
|
|
export default Controller.extend({
|
|
settings: injectService()
|
|
});
|