mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Fix dropdown Private items with empty set
This commit is contained in:
		| @@ -43,8 +43,8 @@ export class SelectComponent extends AbstractInputComponent<number> { | |||||||
|   } |   } | ||||||
|  |  | ||||||
|   checkForPrivateItems(value: any) { |   checkForPrivateItems(value: any) { | ||||||
|     if (Array.isArray(value) && value.length > 0) { |     if (Array.isArray(value)) { | ||||||
|       value.forEach((id) => this.checkForPrivateItem(id)) |       if (value.length > 0) value.forEach((id) => this.checkForPrivateItem(id)) | ||||||
|     } else { |     } else { | ||||||
|       this.checkForPrivateItem(value) |       this.checkForPrivateItem(value) | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon