diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-06 21:59:49 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-06 22:03:01 +0300 |
commit | cbdbb645234f330bfa0b73e9c1bd0bbf60d73b02 (patch) | |
tree | 5b7e2c952770ec02157da34a446a0ddbbf05cf4b /app/assets/javascripts/environments/components/environment_monitoring.vue | |
parent | e9c6f58e7e554776ce1935b352bc5472d656c252 (diff) |
[ci skip] Fix more eslint rules
Diffstat (limited to 'app/assets/javascripts/environments/components/environment_monitoring.vue')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_monitoring.vue | 42 |
1 files changed, 22 insertions, 20 deletions
diff --git a/app/assets/javascripts/environments/components/environment_monitoring.vue b/app/assets/javascripts/environments/components/environment_monitoring.vue index b45af1a5ebc..081537cf218 100644 --- a/app/assets/javascripts/environments/components/environment_monitoring.vue +++ b/app/assets/javascripts/environments/components/environment_monitoring.vue @@ -1,27 +1,27 @@ <script> -/** - * Renders the Monitoring (Metrics) link in environments table. - */ -import tooltip from '../../vue_shared/directives/tooltip'; + /** + * Renders the Monitoring (Metrics) link in environments table. + */ + import tooltip from '../../vue_shared/directives/tooltip'; -export default { - props: { - monitoringUrl: { - type: String, - required: true, + export default { + directives: { + tooltip, }, - }, - directives: { - tooltip, - }, + props: { + monitoringUrl: { + type: String, + required: true, + }, + }, - computed: { - title() { - return 'Monitoring'; + computed: { + title() { + return 'Monitoring'; + }, }, - }, -}; + }; </script> <template> <a @@ -31,10 +31,12 @@ export default { rel="noopener noreferrer nofollow" :href="monitoringUrl" :title="title" - :aria-label="title"> + :aria-label="title" + > <i class="fa fa-area-chart" aria-hidden="true" - /> + > + </i> </a> </template> |