diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-05-16 20:18:15 -0500 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-05-16 20:18:15 -0500 |
commit | fe0bc5987f7838ea4ab38a0f67711c04b58358cd (patch) | |
tree | 6bc4dd4c3dff62ab3a4ae4fc286df285b29a6dab | |
parent | 008860a636354c93d267fec8c275df29f5434207 (diff) | |
download | gitlab-ce-56992-project-title-component.tar.gz |
Minor linting fixes56992-project-title-component
-rw-r--r-- | app/assets/javascripts/vue_shared/components/projects_list/project_title.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/vue_shared/components/projects_list/project_title.vue b/app/assets/javascripts/vue_shared/components/projects_list/project_title.vue index 0718d2dc953..d45bf12d17d 100644 --- a/app/assets/javascripts/vue_shared/components/projects_list/project_title.vue +++ b/app/assets/javascripts/vue_shared/components/projects_list/project_title.vue @@ -15,12 +15,12 @@ export default { }, }, computed: { - namespaceName: function() { + namespaceName() { return `${this.namespace} /`; }, - path: function() { + path() { const { pathWithNamespace } = this; - return pathWithNamespace.charAt(0) == '/' ? pathWithNamespace : `/${pathWithNamespace}`; + return pathWithNamespace.charAt(0) === '/' ? pathWithNamespace : `/${pathWithNamespace}`; }, }, }; |