diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-05 17:31:01 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-05 17:31:12 +0300 |
commit | 7c7f52668420007d551549f34df66345f1373e36 (patch) | |
tree | 0b60313c82ecb499337645bfc22c6ae4ec6f8240 /app/assets/javascripts/deploy_keys/components/keys_panel.vue | |
parent | 1525b00540760ec5ae39160ac48189f295535199 (diff) |
[ci skip] Fix more rules
Diffstat (limited to 'app/assets/javascripts/deploy_keys/components/keys_panel.vue')
-rw-r--r-- | app/assets/javascripts/deploy_keys/components/keys_panel.vue | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/assets/javascripts/deploy_keys/components/keys_panel.vue b/app/assets/javascripts/deploy_keys/components/keys_panel.vue index 9e6fb244af6..822b0323156 100644 --- a/app/assets/javascripts/deploy_keys/components/keys_panel.vue +++ b/app/assets/javascripts/deploy_keys/components/keys_panel.vue @@ -2,6 +2,9 @@ import key from './key.vue'; export default { + components: { + key, + }, props: { title: { type: String, @@ -25,9 +28,6 @@ required: true, }, }, - components: { - key, - }, }; </script> @@ -37,12 +37,14 @@ {{ title }} ({{ keys.length }}) </h5> - <ul class="well-list" + <ul + class="well-list" v-if="keys.length" > <li v-for="deployKey in keys" - :key="deployKey.id"> + :key="deployKey.id" + > <key :deploy-key="deployKey" :store="store" |