1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 07:15:23 +02:00

fix(edge/groups): show tags for environments [EE-4422] (#7940)

This commit is contained in:
Chaim Lev-Ari 2022-12-14 09:17:49 +02:00 committed by GitHub
parent 52e150fa29
commit f38b8234d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 9 deletions

View file

@ -3,7 +3,6 @@ import _ from 'lodash-es';
import { EdgeTypes } from '@/react/portainer/environments/types';
import { getEnvironments } from '@/react/portainer/environments/environment.service';
import { getTags } from '@/portainer/tags/tags.service';
class AssoicatedEndpointsSelectorController {
/* @ngInject */
@ -48,7 +47,6 @@ class AssoicatedEndpointsSelectorController {
}
loadData() {
this.getTags();
this.getAvailableEndpoints();
this.getAssociatedEndpoints();
}
@ -82,13 +80,6 @@ class AssoicatedEndpointsSelectorController {
});
}
getTags() {
return this.$async(async () => {
let tags = { value: [], totalCount: 0 };
tags = await getTags();
this.tags = tags;
});
}
/* #endregion */
/* #region On endpoint click (either available or associated) */