summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzekiel Kigbo <ekigbo@gitlab.com>2019-05-16 20:18:15 -0500
committerEzekiel Kigbo <ekigbo@gitlab.com>2019-05-16 20:18:15 -0500
commitfe0bc5987f7838ea4ab38a0f67711c04b58358cd (patch)
tree6bc4dd4c3dff62ab3a4ae4fc286df285b29a6dab
parent008860a636354c93d267fec8c275df29f5434207 (diff)
downloadgitlab-ce-56992-project-title-component.tar.gz
-rw-r--r--app/assets/javascripts/vue_shared/components/projects_list/project_title.vue6
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}`;
},
},
};