Skip to content

Instantly share code, notes, and snippets.

@eriknelson
Last active April 25, 2016 14:15
Show Gist options
  • Save eriknelson/0b32b984c0c28fac12c4873d1fc8c3f4 to your computer and use it in GitHub Desktop.
Save eriknelson/0b32b984c0c28fac12c4873d1fc8c3f4 to your computer and use it in GitHub Desktop.
diff --git a/fusor-ember-cli/app/controllers/review/installation.js b/fusor-ember-cli/app/controllers/review/installation.js
index 83fe60f..150d8be 100644
--- a/fusor-ember-cli/app/controllers/review/installation.js
+++ b/fusor-ember-cli/app/controllers/review/installation.js
@@ -40,12 +40,13 @@ export default Ember.Controller.extend(NeedsDeploymentMixin, OpenshiftMixin, {
'isMissingSubscriptions',
'isDisconnected',
'hasNoManifestFile',
+ 'showValidationErrors',
function()
{
return this.get('deploymentController.isDisabledReview') ||
this.get('isMissingSubscriptions') ||
(this.get('isDisconnected') && this.get('hasNoManifestFile')) ||
- this.get('validationErrors.length') > 0;
+ this.get('showValidationErrors');
}),
validationWarnings: [],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment