diff --git a/src/routes/(console)/project-[region]-[project]/updateVariables.svelte b/src/routes/(console)/project-[region]-[project]/updateVariables.svelte
index 86f24b136d..205cac43ac 100644
--- a/src/routes/(console)/project-[region]-[project]/updateVariables.svelte
+++ b/src/routes/(console)/project-[region]-[project]/updateVariables.svelte
@@ -273,10 +273,14 @@
within your project.
{:else}
Set the environment variables or secret keys that will be passed to your {product}. Global
- variables can be found in
- project settings.
+ variables can be found in {#if $project && $project.region && $project.$id}
+
+ project settings.
+ {:else}
+ project settings.
+ {/if}
{/if}
@@ -323,12 +327,16 @@
Some environment variables have
{/if}
a naming conflict with a global variable. View global variables in
-
- project settings.
+ {#if $project && $project.region && $project.$id}
+
+ project settings.
+ {:else}
+ project settings.
+ {/if}
{/if}
diff --git a/src/routes/(console)/project-[region]-[project]/updateVariablesModal.svelte b/src/routes/(console)/project-[region]-[project]/updateVariablesModal.svelte
index 58e6026c0e..0022899444 100644
--- a/src/routes/(console)/project-[region]-[project]/updateVariablesModal.svelte
+++ b/src/routes/(console)/project-[region]-[project]/updateVariablesModal.svelte
@@ -53,9 +53,13 @@
{#if !isGlobal}
- When there is a naming conflict with a global variable in your
- project settings
+ When there is a naming conflict with a global variable in your {#if $project && $project.region && $project.$id}
+
+ project settings
+ {:else}
+ project settings
+ {/if}
and a {product} environment variable, the global variable will be ignored.
{/if}