12 lines
299 B
JavaScript
12 lines
299 B
JavaScript
export default (Vue) => {
|
|
Vue.mixin({
|
|
provide: {
|
|
glFeatures:
|
|
{
|
|
...window.gon?.features,
|
|
// TODO: extract into glLicensedFeatures https://gitlab.com/gitlab-org/gitlab/-/issues/322460
|
|
...window.gon?.licensed_features,
|
|
} || {},
|
|
},
|
|
});
|
|
};
|