Properly check for caches and ssKey on pro
This commit is contained in:
parent
76672e76ca
commit
a6b9c2b0d9
|
@ -10,7 +10,7 @@
|
|||
<li>
|
||||
{{#link-to "requests" view.repo}}Requests{{/link-to}}
|
||||
</li>
|
||||
{{#if config.caches_enabled}}
|
||||
{{#if config.endpoints.caches}}
|
||||
<li>
|
||||
{{#link-to "caches" view.repo}}Caches{{/link-to}}
|
||||
</li>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
<ul class="navigation">
|
||||
<li>{{#link-to "settings.index"}}General Settings{{/link-to}}</li>
|
||||
<li>{{#link-to "env_vars"}}Environment Variables{{/link-to}}</li>
|
||||
{{#if config.ssh_key_enabled}}
|
||||
|
||||
{{#if config.endpoints.sshKey}}
|
||||
<li>{{#link-to "ssh_key"}}SSH Key{{/link-to}}</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
|
|
@ -46,8 +46,7 @@ module.exports = function(environment) {
|
|||
ENV.endpoints = {
|
||||
sshKey: true,
|
||||
caches: true
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user