Commit 1fe8a74f authored by Phil Hughes's avatar Phil Hughes

Fixed new widget extensions not showing

Moves the computed property to the correct place.
parent 10329c86
......@@ -207,6 +207,12 @@ export default {
hasAlerts() {
return this.mr.mergeError || this.showMergePipelineForkWarning;
},
shouldShowExtension() {
return (
window.gon?.features?.refactorMrWidgetsExtensions ||
window.gon?.features?.refactorMrWidgetsExtensionsUser
);
},
},
watch: {
'mr.machineValue': {
......
......@@ -192,12 +192,6 @@ export default {
this.fetchLoadPerformance();
}
},
shouldShowExtension() {
return (
window.gon.features.refactorMrWidgetsExtensions ||
window.gon.features.refactorMrWidgetsExtensionsUser
);
},
},
methods: {
registerLoadPerformance() {
......
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