diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-08-17 19:25:56 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-08-17 19:25:56 +0200 |
commit | 9c22974cd14f41ed156ced0a6742dbae7412b0db (patch) | |
tree | 0fffe3714559e8574b4ac4d3b99d1253e1a879d5 /app/assets/javascripts/notes/components/issue_note_form.vue | |
parent | 09338e397c95b51a7c515524d7f3eb5f4eed2fb4 (diff) | |
download | gitlab-ce-9c22974cd14f41ed156ced0a6742dbae7412b0db.tar.gz |
Rename a few attribute suffixes from `_url` to `_path`
Diffstat (limited to 'app/assets/javascripts/notes/components/issue_note_form.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/issue_note_form.vue | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/assets/javascripts/notes/components/issue_note_form.vue b/app/assets/javascripts/notes/components/issue_note_form.vue index e0c40f77b00..591008a0285 100644 --- a/app/assets/javascripts/notes/components/issue_note_form.vue +++ b/app/assets/javascripts/notes/components/issue_note_form.vue @@ -52,14 +52,14 @@ noteHash() { return `#note_${this.noteId}`; }, - markdownPreviewUrl() { + markdownPreviewPath() { return this.getIssueDataByProp('preview_note_path'); }, - markdownDocsUrl() { - return this.getNotesDataByProp('markdownDocs'); + markdownDocsPath() { + return this.getNotesDataByProp('markdownDocsPath'); }, - quickActionsDocsUrl() { - return !this.isEditing ? this.getNotesDataByProp('quickActionsDocs') : undefined; + quickActionsDocsPath() { + return !this.isEditing ? this.getNotesDataByProp('quickActionsDocsPath') : undefined; }, currentUserId() { return this.getUserDataByProp('id'); @@ -124,9 +124,9 @@ class="edit-note common-note-form js-quick-submit gfm-form"> <confidentialIssue v-if="isConfidentialIssue" /> <markdown-field - :markdown-preview-url="markdownPreviewUrl" - :markdown-docs="markdownDocsUrl" - :quick-actions-docs="quickActionsDocsUrl" + :markdown-preview-path="markdownPreviewPath" + :markdown-docs-path="markdownDocsPath" + :quick-actions-docs-path="quickActionsDocsPath" :add-spacing-classes="false"> <textarea id="note_note" |