mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +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
|
@ -406,7 +406,7 @@
|
|||
<td style="width: 25%;">Configuration</td>
|
||||
</tr>
|
||||
<tbody ng-repeat="container in ctrl.application.Containers" style="border-top: 0;">
|
||||
<tr ng-repeat="envvar in container.Env track by $index">
|
||||
<tr ng-repeat="envvar in container.Env | orderBy: 'name'">
|
||||
<td>
|
||||
{{ container.Name }}
|
||||
<span ng-if="container.Type === ctrl.KubernetesPodContainerTypes.INIT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue