diff --git a/app/agent/components/files-datatable/files-datatable.html b/app/agent/components/files-datatable/filesDatatable.html similarity index 100% rename from app/agent/components/files-datatable/files-datatable.html rename to app/agent/components/files-datatable/filesDatatable.html diff --git a/app/agent/components/files-datatable/files-datatable.js b/app/agent/components/files-datatable/index.js similarity index 85% rename from app/agent/components/files-datatable/files-datatable.js rename to app/agent/components/files-datatable/index.js index d75d0f970..a3ba1bb7e 100644 --- a/app/agent/components/files-datatable/files-datatable.js +++ b/app/agent/components/files-datatable/index.js @@ -1,5 +1,7 @@ +import angular from 'angular'; + angular.module('portainer.agent').component('filesDatatable', { - templateUrl: './files-datatable.html', + templateUrl: './filesDatatable.html', controller: 'GenericDatatableController', bindings: { titleText: '@',