Commit 7cf4fc4c authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt Committed by Brandon Labuschagne

Refactor injection of path

parent 136b739f
...@@ -12,11 +12,7 @@ export default { ...@@ -12,11 +12,7 @@ export default {
directives: { directives: {
GlModal: GlModalDirective, GlModal: GlModalDirective,
}, },
inject: { inject: ['path'],
path: {
default: '',
},
},
data() { data() {
return { return {
modalId: uniqueId('remove-topic-avatar-'), modalId: uniqueId('remove-topic-avatar-'),
......
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