mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
refactor(environments): remove endpoints cache [DTD-100] (#6408)
This commit is contained in:
parent
9ef2e27aae
commit
37d4a80769
51 changed files with 155 additions and 353 deletions
|
@ -6,7 +6,7 @@ export class NodeSelectorController {
|
|||
|
||||
async $onInit() {
|
||||
try {
|
||||
const agents = await this.AgentService.agents();
|
||||
const agents = await this.AgentService.agents(this.endpointId);
|
||||
this.agents = agents;
|
||||
if (!this.model) {
|
||||
this.model = agents[0].NodeName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue