diff --git a/frontend/src/app/core/state/storage-files/storage-files.service.ts b/frontend/src/app/core/state/storage-files/storage-files.service.ts index 5a7d9e9bcb42..b621427704e4 100644 --- a/frontend/src/app/core/state/storage-files/storage-files.service.ts +++ b/frontend/src/app/core/state/storage-files/storage-files.service.ts @@ -79,6 +79,10 @@ export class StorageFilesResourceService { return this.httpClient.request(link.method, link.href, { body: link.payload }); } + createFolder(href:string, body:{ name:string, parent_id:ID }):Observable { + return this.httpClient.post(href, body); + } + reset():void { this.store.reset(); } diff --git a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html index 893be4759a44..f6e263e38afd 100644 --- a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html +++ b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html @@ -72,6 +72,16 @@
+
+ +