diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-17 21:26:34 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-17 21:26:34 +0000 |
commit | f9237abb66aa92825c17bc6864e16783c1e54450 (patch) | |
tree | 23766f3031a61c613ee16dcb9ad22c0c2621e81b /app/assets/javascripts/environments | |
parent | 8bd3f52667f4682ebfefa62024b901cabc928ed1 (diff) | |
download | gitlab-ce-f9237abb66aa92825c17bc6864e16783c1e54450.tar.gz |
Fix after review
Diffstat (limited to 'app/assets/javascripts/environments')
-rw-r--r-- | app/assets/javascripts/environments/components/environment.js.es6 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/environments/components/environment.js.es6 b/app/assets/javascripts/environments/components/environment.js.es6 index a94fe41dede..28377cd5183 100644 --- a/app/assets/javascripts/environments/components/environment.js.es6 +++ b/app/assets/javascripts/environments/components/environment.js.es6 @@ -140,10 +140,7 @@ * @returns {Boolean} */ convertPermissionToBoolean(string) { - if (string === 'true') { - return true; - } - return false; + return string === 'true'; }, methods: { |