diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-11-21 13:57:27 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-21 13:57:27 +0000 |
commit | 89846cac6498c7c0f36f3b8e59d9d481471960e4 (patch) | |
tree | 8c5f63a353a99125143cfb8a73e031a32e359d48 /app/assets/javascripts | |
parent | 5960aed32a7998a9c6eb37ffc4a54dfb2b1c8688 (diff) | |
download | gitlab-ce-89846cac6498c7c0f36f3b8e59d9d481471960e4.tar.gz |
Fixes identationfix-xss-vulnerability
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/environments/components/environment.js.es6 | 4 | ||||
-rw-r--r-- | app/assets/javascripts/environments/components/environment_item.js.es6 | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/app/assets/javascripts/environments/components/environment.js.es6 b/app/assets/javascripts/environments/components/environment.js.es6 index 13d5b156f8f..952110744d4 100644 --- a/app/assets/javascripts/environments/components/environment.js.es6 +++ b/app/assets/javascripts/environments/components/environment.js.es6 @@ -159,7 +159,7 @@ Available <span class="badge js-available-environments-count"> {{state.availableCounter}} - </span> + </span> </a> </li> <li v-bind:class="{ 'active' : scope === 'stopped' }"> @@ -167,7 +167,7 @@ Stopped <span class="badge js-stopped-environments-count"> {{state.stoppedCounter}} - </span> + </span> </a> </li> </ul> diff --git a/app/assets/javascripts/environments/components/environment_item.js.es6 b/app/assets/javascripts/environments/components/environment_item.js.es6 index 6bac01632bf..da7db5c05bd 100644 --- a/app/assets/javascripts/environments/components/environment_item.js.es6 +++ b/app/assets/javascripts/environments/components/environment_item.js.es6 @@ -389,8 +389,7 @@ template: ` <tr> <td v-bind:class="{ 'children-row': isChildren}"> - <a - v-if="!isFolder" + <a v-if="!isFolder" class="environment-name" :href="model.environment_path"> {{model.name}} @@ -412,8 +411,7 @@ </td> <td class="deployment-column"> - <span - v-if="shouldRenderDeploymentID"> + <span v-if="shouldRenderDeploymentID"> {{deploymentInternalId}} </span> |