debian-mirror-gitlab/app/assets/javascripts/helpers/user_feature_helper.js
2017-09-10 17:25:29 +05:30

11 lines
184 B
JavaScript

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