Skip to content
Snippets Groups Projects
Commit 24902315 authored by Douwe Maan's avatar Douwe Maan
Browse files

Satisfy ESlint

parent 5efb0a95
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,12 +14,13 @@ export default {
},
branchNameClipboardData() {
// This supports code in app/assets/javascripts/copy_to_clipboard.js that
// works around ClipboardJS limitations to allow the context-specific copy/pasting of plain text or GFM.
// works around ClipboardJS limitations to allow the context-specific
// copy/pasting of plain text or GFM.
return JSON.stringify({
text: this.mr.sourceBranch,
gfm: '`' + this.mr.sourceBranch + '`'
gfm: `\`${this.mr.sourceBranch}\``,
});
}
},
},
methods: {
isBranchTitleLong(branchTitle) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment