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:
parent
4534ccb499
commit
b50497301d
2 changed files with 3 additions and 1 deletions
24
app/agent/components/files-datatable/index.js
Normal file
24
app/agent/components/files-datatable/index.js
Normal 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: '<',
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue