Added full support for managing the blocklist
This commit is contained in:
@@ -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