1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

refactor(agent): refactor files-datatable to es6 (#4085)

* refactor(host): rename files datatable

* feat(agent): rename main file
This commit is contained in:
Chaim Lev-Ari 2020-07-23 10:43:12 +03:00 committed by GitHub
parent 4534ccb499
commit b50497301d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,24 @@
import angular from 'angular';
angular.module('portainer.agent').component('filesDatatable', {
templateUrl: './filesDatatable.html',
controller: 'GenericDatatableController',
bindings: {
titleText: '@',
titleIcon: '@',
dataset: '<',
tableKey: '@',
orderBy: '@',
reverseOrder: '<',
isRoot: '<',
goToParent: '&',
browse: '&',
rename: '&',
download: '&',
delete: '&',
isUploadAllowed: '<',
onFileSelectedForUpload: '<',
},
});