diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-12 12:10:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-01-12 12:10:49 +0300 |
commit | 9c07ab8c6975de1046bd65b36f3d34f5408dac13 (patch) | |
tree | f17da714b7b4ea77aa16ebfae62766a694247c7e /app/assets/javascripts/snippets | |
parent | 38780f3d2f18d9e07fe3e7427ccc964de267dbb4 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/snippets')
-rw-r--r-- | app/assets/javascripts/snippets/components/snippet_blob_view.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/javascripts/snippets/components/snippet_blob_view.vue b/app/assets/javascripts/snippets/components/snippet_blob_view.vue index b01fae6a88f..4326c3c3159 100644 --- a/app/assets/javascripts/snippets/components/snippet_blob_view.vue +++ b/app/assets/javascripts/snippets/components/snippet_blob_view.vue @@ -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: '', |