Skip to content

Commit

Permalink
feat(list): add engine from ansible if not detected (for services)
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Aug 16, 2018
1 parent cc9235f commit 2ac1bd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ export default {
return this.sites.map(site => {
site.prod = site.prod ? 1 : 0;
site.id = site.domain;
if (
site.engine != 'default' &&
(!site.site_info || (site.site_info && !site.site_info.engine))
) {
site.site_info.engine = site.engine;
}
return site;
});
/* const data = this.sites.map(site => {
Expand Down

0 comments on commit 2ac1bd2

Please sign in to comment.