From 31cff12e4336fefbbd0f4691b64b09d50c78e8b8 Mon Sep 17 00:00:00 2001 From: Jacob Date: Mon, 10 Jun 2019 22:15:52 -0500 Subject: [PATCH] ui v2 --- .../Release/EditReleaseProfileModalContent.js | 54 +++++++------------ 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContent.js b/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContent.js index 742eb95dd..28524a1d8 100644 --- a/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContent.js +++ b/frontend/src/Settings/Profiles/Release/EditReleaseProfileModalContent.js @@ -16,22 +16,6 @@ import styles from './EditReleaseProfileModalContent.css'; // Tab, enter, and comma const tagInputDelimiters = [9, 13, 188]; -const indexerOptions = [ - { key: 'all', value: 'All' }, - { key: 'fanzub', value: 'Fanzub' }, - { key: 'newznab', value: 'Newznab' }, - { key: 'omgwtfnzbs', value: 'omgwtfnzbs' }, - { key: 'bitmetv', value: 'BitMeTV' }, - { key: 'broadcasthenet', value: 'BroadcastheNet' }, - { key: 'hdbits', value: 'HDBits' }, - { key: 'iptorrents', value: 'IP Torrents' }, - { key: 'nyaa', value: 'Nyaa' }, - { key: 'rarbg', value: 'Rarbg' }, - { key: 'torrentrssfeed', value: 'Torrent RSS Feed' }, - { key: 'torrentleech', value: 'TorrentLeech' }, - { key: 'torznab', value: 'Torznab' } -]; - function EditReleaseProfileModalContent(props) { const { isSaving, @@ -46,11 +30,11 @@ function EditReleaseProfileModalContent(props) { const { id, + enableProfile, required, ignored, preferred, - indexer, - enableIndexer, + indexerId, includePreferredWhenRenaming, tags } = item; @@ -63,6 +47,18 @@ function EditReleaseProfileModalContent(props) {
+ + Enable Profile + + + + Must Contain @@ -127,24 +123,10 @@ function EditReleaseProfileModalContent(props) { Indexer - - - - - Enable Indexer - -