1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 12:25:22 +02:00

refactor(agent): refactor volume browser to es6 (#4086)

* refactor(agent): replace root with index

* refactor(agent): use simple export

* refactor(agent): replace function with class

* refactor(agent): replace promise with async
This commit is contained in:
Chaim Lev-Ari 2020-07-23 10:45:12 +03:00 committed by GitHub
parent 7eb8d5449a
commit a473d738be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 139 additions and 120 deletions

View file

@ -0,0 +1,13 @@
import angular from 'angular';
import { VolumeBrowserController } from './volumeBrowserController';
angular.module('portainer.agent').component('volumeBrowser', {
templateUrl: './volumeBrowser.html',
controller: VolumeBrowserController,
bindings: {
volumeId: '<',
nodeName: '<',
isUploadEnabled: '<',
},
});