Commit 76fa4e57 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'ph/fixExtensionsNotShowing' into 'master'

Fixed new widget extensions not showing

See merge request gitlab-org/gitlab!72109
parents bfb41887 1fe8a74f
......@@ -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