1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00
portainer/app/agent/components/volume-browser/index.js
Chaim Lev-Ari a473d738be
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
2020-07-23 19:45:12 +12:00

13 lines
330 B
JavaScript

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