Commit e36f49fb authored by Phil Hughes's avatar Phil Hughes

Merge branch '43011-typecast-markdownversion-prop-notesapp' into 'master'

Fix Vue datatype errors for markdownVersion parsing

See merge request gitlab-org/gitlab-ce!20800
parents 7dabb48e a6482186
......@@ -15,7 +15,7 @@ document.addEventListener('DOMContentLoaded', () => {
const notesDataset = document.getElementById('js-vue-notes').dataset;
const parsedUserData = JSON.parse(notesDataset.currentUserData);
const noteableData = JSON.parse(notesDataset.noteableData);
const { markdownVersion } = notesDataset;
const markdownVersion = parseInt(notesDataset.markdownVersion, 10);
let currentUserData = {};
noteableData.noteableType = notesDataset.noteableType;
......
---
title: Fix Vue datatype errors for markdownVersion parsing
merge_request: 20800
author:
type: fixed
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