gitlab-org--gitlab-foss/app/assets/javascripts/helpers/user_feature_helper.js

7 lines
129 B
JavaScript

import Cookies from 'js-cookie';
export default {
isNewRepoEnabled() {
return Cookies.get('new_repo') === 'true';
},
};