mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(UAC): fix an issue with network/volume ownership update (#1552)
This commit is contained in:
parent
f57ce8b327
commit
95b595d2a9
3 changed files with 0 additions and 6 deletions
|
@ -34,7 +34,5 @@ function ContainerViewModel(data) {
|
|||
if (data.Portainer.ResourceControl) {
|
||||
this.ResourceControl = new ResourceControlViewModel(data.Portainer.ResourceControl);
|
||||
}
|
||||
} else {
|
||||
this.ResourceControl = { Ownership: 'public' };
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,5 @@ function NetworkViewModel(data) {
|
|||
if (data.Portainer.ResourceControl) {
|
||||
this.ResourceControl = new ResourceControlViewModel(data.Portainer.ResourceControl);
|
||||
}
|
||||
} else {
|
||||
this.ResourceControl = { Ownership: 'public' };
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,5 @@ function VolumeViewModel(data) {
|
|||
if (data.Portainer.ResourceControl) {
|
||||
this.ResourceControl = new ResourceControlViewModel(data.Portainer.ResourceControl);
|
||||
}
|
||||
} else {
|
||||
this.ResourceControl = { Ownership: 'public' };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue