mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 23:09:41 +02:00
feat(app): sort environment variables (#4815)
* feat(app): sort environment variables * feat(k8s/application): improve the sorting for the env variables when creating/editing application * feat(k8s/application): update the removal of the env var * feat(docker/service): improve the sorting order for env var in service edition view
This commit is contained in:
parent
86335a4357
commit
387bbeceba
9 changed files with 24 additions and 15 deletions
|
@ -96,6 +96,7 @@ angular.module('portainer.docker').controller('ContainerController', [
|
|||
});
|
||||
}
|
||||
|
||||
$scope.container.Config.Env = _.sortBy($scope.container.Config.Env, _.toLower);
|
||||
const inSwarm = $scope.container.Config.Labels['com.docker.swarm.service.id'];
|
||||
const autoRemove = $scope.container.HostConfig.AutoRemove;
|
||||
const admin = Authentication.isAdmin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue