mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(service-details): show labels in service view
This commit is contained in:
parent
f0e194f63b
commit
8187f17d33
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ function ServiceViewModel(data) {
|
|||
} else {
|
||||
this.Mode = 'global';
|
||||
}
|
||||
if (data.Spec.Labels) {
|
||||
this.Labels = data.Spec.Labels;
|
||||
if (data.Spec.TaskTemplate.ContainerSpec) {
|
||||
this.Labels = data.Spec.TaskTemplate.ContainerSpec.Labels;
|
||||
}
|
||||
if (data.Spec.TaskTemplate.ContainerSpec.Env) {
|
||||
this.Env = data.Spec.TaskTemplate.ContainerSpec.Env;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue