summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/index.js
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-02-28 18:40:06 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-02-28 18:40:06 +0000
commit9353c5c780c7af6d6ed3d6c501b155f82debc99c (patch)
tree55d87571798f5ff10ee1431a296f1115251f67e9 /app/assets/javascripts/notes/index.js
parentc287c01821c4db4830dbdd5263907f08c2ed4cc4 (diff)
parente2638c3ff2714e5efd4bc54e64555fc564c84af1 (diff)
downloadgitlab-ce-pipelines_show_refactor.tar.gz
Merge branch 'master' into 'pipelines_show_refactor'pipelines_show_refactor
# Conflicts: # config/webpack.config.js
Diffstat (limited to 'app/assets/javascripts/notes/index.js')
-rw-r--r--app/assets/javascripts/notes/index.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/app/assets/javascripts/notes/index.js b/app/assets/javascripts/notes/index.js
index 48e7cfddb63..545bf2c99a7 100644
--- a/app/assets/javascripts/notes/index.js
+++ b/app/assets/javascripts/notes/index.js
@@ -20,17 +20,7 @@ document.addEventListener('DOMContentLoaded', () => new Vue({
return {
noteableData: JSON.parse(notesDataset.noteableData),
currentUserData,
- notesData: {
- lastFetchedAt: notesDataset.lastFetchedAt,
- discussionsPath: notesDataset.discussionsPath,
- newSessionPath: notesDataset.newSessionPath,
- registerPath: notesDataset.registerPath,
- notesPath: notesDataset.notesPath,
- markdownDocsPath: notesDataset.markdownDocsPath,
- quickActionsDocsPath: notesDataset.quickActionsDocsPath,
- closeIssuePath: notesDataset.closeIssuePath,
- reopenIssuePath: notesDataset.reopenIssuePath,
- },
+ notesData: JSON.parse(notesDataset.notesData),
};
},
render(createElement) {