Abstract modal

Add remove torrents modal
Add string util
Add icons for torrent details view
This commit is contained in:
John Furrow
2016-01-31 21:46:41 -08:00
parent 65a3024b7a
commit 5ae13e4d5d
24 changed files with 517 additions and 269 deletions

View File

@@ -61,7 +61,7 @@ class UIStoreClass extends BaseStore {
return this.torrentDetailsOpen;
}
setActiveModal(modal) {
setActiveModal(modal = {}) {
this.activeModal = modal;
this.emit(EventTypes.UI_MODAL_CHANGE);
}