Added full support for managing the blocklist
This commit is contained in:
1 parent
d869647dd8
commit
6cadf70c1e
42 files changed
+2004
-123
No files matched your search
@@ -11,6 +11,11 @@ mod radarr_tests;
|
||||
impl<'a> App<'a> {
|
||||
pub(super) async fn dispatch_by_radarr_block(&mut self, active_radarr_block: &ActiveRadarrBlock) {
|
||||
match active_radarr_block {
|
||||
ActiveRadarrBlock::Blocklist => {
|
||||
self
|
||||
.dispatch_network_event(RadarrEvent::GetBlocklist.into())
|
||||
.await;
|
||||
}
|
||||
ActiveRadarrBlock::Collections => {
|
||||
self
|
||||
.dispatch_network_event(RadarrEvent::GetCollections.into())
|
||||
|
||||
Reference in new issue
Block a user