mirror of
https://github.com/zoriya/flood.git
synced 2025-12-19 21:55:15 +00:00
Add move torrents option to context menu
This commit is contained in:
@@ -3,6 +3,7 @@ import CSSTransitionGroup from 'react-addons-css-transition-group';
|
||||
import React from 'react';
|
||||
|
||||
import AddTorrents from './AddTorrents';
|
||||
import MoveTorrents from './MoveTorrents';
|
||||
import EventTypes from '../../constants/EventTypes';
|
||||
import Modal from './Modal';
|
||||
import UIActions from '../../actions/UIActions';
|
||||
@@ -81,6 +82,11 @@ export default class Modals extends React.Component {
|
||||
heading={modalOptions.heading} />
|
||||
);
|
||||
break;
|
||||
case 'move-torrents':
|
||||
modal = (
|
||||
<MoveTorrents dismiss={this.dismissModal} />
|
||||
);
|
||||
break;
|
||||
case 'add-torrents':
|
||||
modal = (
|
||||
<AddTorrents dismiss={this.dismissModal} />
|
||||
|
||||
Reference in New Issue
Block a user