From 7009cef8a448386dc615c0f04849fdbecbbb5768 Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Thu, 27 Nov 2025 10:58:44 +0100
Subject: [PATCH] fix: conditionally enable buildtime checkbox based on
environment type
---
.../shared/environment-variable/show.blade.php | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/resources/views/livewire/project/shared/environment-variable/show.blade.php b/resources/views/livewire/project/shared/environment-variable/show.blade.php
index 2c2b3899b..68e1d7e7d 100644
--- a/resources/views/livewire/project/shared/environment-variable/show.blade.php
+++ b/resources/views/livewire/project/shared/environment-variable/show.blade.php
@@ -80,9 +80,11 @@
@if ($isSharedVariable)
@else
-
+ @if (!$env->is_nixpacks)
+
+ @endif
@@ -230,9 +232,11 @@
@if ($isSharedVariable)
@else
-
+ @if (!$env->is_nixpacks)
+
+ @endif