mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
refactor(endpoints): remove endpointProvider from views [EE-1136] (#5359)
[EE-1136]
This commit is contained in:
parent
7088da5157
commit
eb9f6c77f4
56 changed files with 408 additions and 429 deletions
|
@ -111,7 +111,7 @@ export class VolumeBrowserController {
|
|||
}
|
||||
async onFileSelectedForUploadAsync(file) {
|
||||
try {
|
||||
await this.VolumeBrowserService.upload(this.state.path, file, this.volumeId);
|
||||
await this.VolumeBrowserService.upload(this.endpointId, this.state.path, file, this.volumeId);
|
||||
this.onFileUploaded();
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Unable to upload file');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue