Update app/Livewire/Project/Application/General.php

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Andras Bacsai 2025-11-04 09:57:12 +01:00 committed by GitHub
parent 7b589abfbe
commit a45e674c39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -401,7 +401,9 @@ public function syncData(bool $toModel = false): void
$this->application->docker_compose_raw = $this->dockerComposeRaw;
$this->application->docker_compose_custom_start_command = $this->dockerComposeCustomStartCommand;
$this->application->docker_compose_custom_build_command = $this->dockerComposeCustomBuildCommand;
$this->application->custom_labels = base64_encode($this->customLabels);
$this->application->custom_labels = is_null($this->customLabels)
? null
: base64_encode($this->customLabels);
$this->application->custom_docker_run_options = $this->customDockerRunOptions;
$this->application->pre_deployment_command = $this->preDeploymentCommand;
$this->application->pre_deployment_command_container = $this->preDeploymentCommandContainer;