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