BigW Consortium Gitlab

Commit 24902315 by Douwe Maan

Satisfy ESlint

parent 5efb0a95
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment