diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-26 22:22:16 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-28 12:10:39 -0800 |
commit | 2338a300b92e971c2c953aacbf1c6429ebc09f99 (patch) | |
tree | b4b906c52ec7bb3b53884d2d847a88f83b6f44db /app/assets/javascripts/pages/projects | |
parent | 00209ed89e4e7972f843656b3703d852b6462160 (diff) | |
download | gitlab-ce-2338a300b92e971c2c953aacbf1c6429ebc09f99.tar.gz |
Remove downcase of slug and present home as "Home"
Diffstat (limited to 'app/assets/javascripts/pages/projects')
-rw-r--r-- | app/assets/javascripts/pages/projects/wikis/wikis.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/projects/wikis/wikis.js b/app/assets/javascripts/pages/projects/wikis/wikis.js index d3e8dbf4000..9b58d42b47d 100644 --- a/app/assets/javascripts/pages/projects/wikis/wikis.js +++ b/app/assets/javascripts/pages/projects/wikis/wikis.js @@ -1,5 +1,4 @@ import bp from '../../../breakpoints'; -import { slugify } from '../../../lib/utils/text_utility'; import { parseQueryStringIntoObject } from '../../../lib/utils/common_utils'; import { mergeUrlParams, redirectTo } from '../../../lib/utils/url_utility'; @@ -26,7 +25,8 @@ export default class Wikis { if (!this.newWikiForm) return; const slugInput = this.newWikiForm.querySelector('#new_wiki_path'); - const slug = slugify(slugInput.value); + + const slug = slugInput.value; if (slug.length > 0) { const wikisPath = slugInput.getAttribute('data-wikis-path'); |