diff options
author | jhampton <jhampton@gitlab.com> | 2018-12-06 16:06:01 +0300 |
---|---|---|
committer | jhampton <jhampton@gitlab.com> | 2018-12-06 16:06:01 +0300 |
commit | b6600129bfaa4c8667e06016f546ac71d03f1bf4 (patch) | |
tree | cb97ce74df9fa9954553bd7835fd02b5d3b5cf1f /app/assets/javascripts | |
parent | 9f5b99e65ef2f7cc8352099a0f81ac7486d73cfd (diff) |
Fixes linting error
- Fixes linting error around missing key directive
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/jobs/components/trigger_block.vue | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/app/assets/javascripts/jobs/components/trigger_block.vue b/app/assets/javascripts/jobs/components/trigger_block.vue index ce98474256f..3cd3b743108 100644 --- a/app/assets/javascripts/jobs/components/trigger_block.vue +++ b/app/assets/javascripts/jobs/components/trigger_block.vue @@ -63,17 +63,11 @@ export default { </p> <table class="js-build-variables trigger-build-variables"> - <tr v-for="variable in trigger.variables"> - <td - :key="`${variable.key}-variable`" - class="js-build-variable trigger-build-variable trigger-variables-table-cell" - > + <tr v-for="(variable, index) in trigger.variables" :key="`${variable.key}-${index}`"> + <td class="js-build-variable trigger-build-variable trigger-variables-table-cell"> {{ variable.key }} </td> - <td - :key="`${variable.key}-value`" - class="js-build-value trigger-build-value trigger-variables-table-cell" - > + <td class="js-build-value trigger-build-value trigger-variables-table-cell"> {{ getDisplayValue(variable.value) }} </td> </tr> |