summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notes/index.js
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-02-28 15:40:52 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-02-28 15:40:52 +0000
commitb5b8dc83cc1bb271877c79532ecfb555540672a7 (patch)
tree190f6cd6991cbfbabbd670a7aac5ff36eb1a64bb /app/assets/javascripts/notes/index.js
parentdeef09cd1f0dbe5cab5095ff02f19a5c3588cb91 (diff)
parentff2f57da791890957fe97efd46f5c34f270a0c46 (diff)
downloadgitlab-ce-dispatcher-cycle-analytics.tar.gz
Merge branch 'master' into 'dispatcher-cycle-analytics'dispatcher-cycle-analytics
# 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) {