mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
refactor(agent): refactor host-broswer to es6 (#4088)
* refactor(host): replace host-browser with es6 class * refactor(host): replace promises with async * refactor(hosts): replace delete promise with async * refactor(host): replace upload file with async * refactor(host): replace template strings * fix(host): replace host root * feat(agent): rename main file
This commit is contained in:
parent
a473d738be
commit
1ef7347f19
5 changed files with 166 additions and 155 deletions
7
app/agent/components/host-browser/index.js
Normal file
7
app/agent/components/host-browser/index.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import angular from 'angular';
|
||||
import { HostBrowserController } from './hostBrowserController';
|
||||
|
||||
angular.module('portainer.agent').component('hostBrowser', {
|
||||
controller: HostBrowserController,
|
||||
templateUrl: './hostBrowser.html',
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue