mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(agent): node selector (#4084)
* refactor(agent): rename files * refactor(agent): replace controller with regular export * refactor(agent): replace function with class * refactor(agent): replace promise with async * refactor(agent): rename main file
This commit is contained in:
parent
67069547b8
commit
3a33365133
2 changed files with 21 additions and 20 deletions
11
app/agent/components/node-selector/index.js
Normal file
11
app/agent/components/node-selector/index.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import angular from 'angular';
|
||||
|
||||
import { NodeSelectorController } from './nodeSelectorController';
|
||||
|
||||
angular.module('portainer.agent').component('nodeSelector', {
|
||||
templateUrl: './nodeSelector.html',
|
||||
controller: NodeSelectorController,
|
||||
bindings: {
|
||||
model: '=',
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue