Commit 5794b50e authored by Mark Florian's avatar Mark Florian

Fix component option order in blob

This fixes `vue/order-in-components` violations in the
`{,ee/}app/assets/javascripts/blob` directories.

Part of https://gitlab.com/gitlab-org/gitlab/-/issues/297216.
parent a1239653
...@@ -16,6 +16,7 @@ export default { ...@@ -16,6 +16,7 @@ export default {
directives: { directives: {
GlTooltip: GlTooltipDirective, GlTooltip: GlTooltipDirective,
}, },
inject: ['blobHash'],
props: { props: {
rawPath: { rawPath: {
type: String, type: String,
...@@ -32,7 +33,6 @@ export default { ...@@ -32,7 +33,6 @@ export default {
default: false, default: false,
}, },
}, },
inject: ['blobHash'],
computed: { computed: {
downloadUrl() { downloadUrl() {
return `${this.rawPath}?inline=false`; return `${this.rawPath}?inline=false`;
......
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