chore: prepare for PR

This commit is contained in:
Andras Bacsai committed 2026-03-11 06:36:12 +01:00
1 parent d9cdbc6096
commit 5cac559602
4 files changed
+88 -3

No files matched your search

@@ -139,7 +139,9 @@ class Show extends Component
private function updateOrCreateVariables($variables)
{
$count = 0;
foreach ($variables as $key => $value) {
foreach ($variables as $key => $data) {
$value = is_array($data) ? ($data['value'] ?? '') : $data;
$found = $this->environment->environment_variables()->where('key', $key)->first();
if ($found) {