chore: switch up readonly lables to make more sense

This commit is contained in:
peaklabs-dev
2025-01-08 17:05:11 +01:00
parent d45e2d18b7
commit 3d4e8b9867
5 changed files with 48 additions and 9 deletions

View File

@@ -1683,7 +1683,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
$this->application->custom_labels = base64_encode($labels->implode("\n"));
$this->application->save();
} else {
if (! $this->application->settings->is_container_label_readonly_enabled) {
if ($this->application->settings->is_container_label_readonly_enabled) {
$labels = collect(generateLabelsApplication($this->application, $this->preview));
}
}