@orsetra/shared-ui 1.10.11 → 1.10.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -78,15 +78,18 @@ export function EnvironmentPickerDialog({
|
|
|
78
78
|
<p className="text-sm text-ibm-gray-60">
|
|
79
79
|
No environments found for this project yet. Create one to continue.
|
|
80
80
|
</p>
|
|
81
|
-
{CREATE_ENV_URL
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
className="
|
|
85
|
-
leftIcon={<Plus className="h-3.5 w-3.5" />}
|
|
86
|
-
onClick={() => { window.location.href = CREATE_ENV_URL }}
|
|
81
|
+
{CREATE_ENV_URL ? (
|
|
82
|
+
<a
|
|
83
|
+
href={CREATE_ENV_URL}
|
|
84
|
+
className="inline-flex items-center gap-1.5 h-9 px-4 text-sm border border-ibm-gray-30 bg-white hover:bg-ibm-gray-10 transition-colors"
|
|
87
85
|
>
|
|
86
|
+
<Plus className="h-3.5 w-3.5" />
|
|
88
87
|
Create an environment
|
|
89
|
-
</
|
|
88
|
+
</a>
|
|
89
|
+
) : (
|
|
90
|
+
<p className="text-xs text-ibm-gray-50">
|
|
91
|
+
Go to Environments in the platform settings to create one.
|
|
92
|
+
</p>
|
|
90
93
|
)}
|
|
91
94
|
</div>
|
|
92
95
|
) : (
|