Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'30MINUTES': 30,
'2HOURS': 60 * 2,
'24HOURS': 60 * 24,
};
const GroupActions = React.createClass({
mixins: [
ApiMixin,
GroupState,
History,
TooltipMixin({
selector: '.tip',
container: 'body',
}),
],
xhr: new XHR(false),
getInitialState() {
return {
showRedmineModel: false,
redmineProjects: [],
redmineTrackers: [],
redmineVersions: []
};
},
onDelete() {
let group = this.getGroup();
let project = this.getProject();
let org = this.getOrganization();
let loadingIndicator = IndicatorStore.add(t('Delete event..'));
this.api.bulkDelete({
orgId: org.slug,