From 9e2f08e38f5043e227141f71a129281ee0503568 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 8 Jan 2021 20:09:48 +0000 Subject: [PATCH] * Added streaming country into the user bulk edit --- .../usermanagement/usermanagement.component.html | 16 +++++++++++----- .../usermanagement/usermanagement.component.ts | 4 ++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html index 0684427b8..b17b35dfd 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.html @@ -125,17 +125,15 @@ -

Bulk Edit

-
+
-
- {{c.value | humanize}} + {{c.value | humanize}}
- +
@@ -150,6 +148,14 @@ Music Request Limit + + + + + {{value}} + + + diff --git a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.ts b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.ts index b412091a8..66268082b 100644 --- a/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.ts +++ b/src/Ombi/ClientApp/src/app/usermanagement/usermanagement.component.ts @@ -27,8 +27,11 @@ export class UserManagementComponent implements OnInit { public bulkMovieLimit?: number; public bulkEpisodeLimit?: number; public bulkMusicLimit?: number; + public bulkStreaming?: string; public plexEnabled: boolean; + public countries: string[]; + constructor(private identityService: IdentityService, private settingsService: SettingsService, private notificationService: NotificationService, @@ -38,6 +41,7 @@ export class UserManagementComponent implements OnInit { public async ngOnInit() { + this.identityService.getSupportedStreamingCountries().subscribe(x => this.countries = x); this.users = await this.identityService.getUsers().toPromise(); this.dataSource = new MatTableDataSource(this.users); this.dataSource.sort = this.sort;