mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2975] New input for File Upload Button component (#3299)
* new nodeType input * unit tests * content type fix * remove package-lock.json files
This commit is contained in:
committed by
Eugenio Romano
parent
97f888d49c
commit
4c7a63c95a
@@ -172,6 +172,10 @@ export class UploadService {
|
||||
opts.name = file.options.newVersionBaseName;
|
||||
}
|
||||
|
||||
if (file.options.nodeType) {
|
||||
opts.nodeType = file.options.nodeType;
|
||||
}
|
||||
|
||||
return this.apiService.getInstance().upload.uploadFile(
|
||||
file.file,
|
||||
file.options.path,
|
||||
|
Reference in New Issue
Block a user