Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

馃悰 Fix "active" state of apps on apps index screen #843

Merged
merged 1 commit into from
Aug 30, 2017

Conversation

kevinansfield
Copy link
Collaborator

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

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
@coveralls
Copy link

Coverage Status

Coverage remained the same at 72.672% when pulling 3a0156e on kevinansfield:fix-apps-index-active-state into ec354c4 on TryGhost:master.

@kirrg001 kirrg001 merged commit 27c169b into TryGhost:master Aug 30, 2017
@kevinansfield kevinansfield deleted the fix-apps-index-active-state branch June 4, 2018 10:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants