mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed where you couldn't bulk edit the limits to 0 #2318
This commit is contained in:
parent
a94898cf73
commit
e172c94225
1 changed files with 2 additions and 2 deletions
|
@ -80,10 +80,10 @@ export class UserManagementComponent implements OnInit {
|
||||||
if(anyRoles) {
|
if(anyRoles) {
|
||||||
x.claims = this.availableClaims;
|
x.claims = this.availableClaims;
|
||||||
}
|
}
|
||||||
if(this.bulkEpisodeLimit && this.bulkEpisodeLimit > 0) {
|
if(this.bulkEpisodeLimit) {
|
||||||
x.episodeRequestLimit = this.bulkEpisodeLimit;
|
x.episodeRequestLimit = this.bulkEpisodeLimit;
|
||||||
}
|
}
|
||||||
if(this.bulkMovieLimit && this.bulkMovieLimit > 0) {
|
if(this.bulkMovieLimit) {
|
||||||
x.movieRequestLimit = this.bulkMovieLimit;
|
x.movieRequestLimit = this.bulkMovieLimit;
|
||||||
}
|
}
|
||||||
this.identityService.updateUser(x).subscribe(y => {
|
this.identityService.updateUser(x).subscribe(y => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue