Commit 9d7c81ee authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch 'fix-vue-order-in-components-snippets' into 'master'

Fix component option order in snippets

See merge request gitlab-org/gitlab!51374
parents d35031d1 e2867640
......@@ -41,6 +41,11 @@ export default {
},
},
},
provide() {
return {
blobHash: Math.random().toString().split('.')[1],
};
},
props: {
snippet: {
type: Object,
......@@ -51,11 +56,6 @@ export default {
required: true,
},
},
provide() {
return {
blobHash: Math.random().toString().split('.')[1],
};
},
data() {
return {
blobContent: '',
......
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