1
0

Fix minor edge case where unknown is first but not only. (#4308)

This commit is contained in:
Prospector
2025-09-01 11:41:38 -07:00
committed by GitHub
parent c43d359561
commit d0c67b368a

View File

@@ -133,7 +133,7 @@ const messages = defineMessages({
v-else-if="
!projectV3.environment ||
projectV3.environment.length === 0 ||
projectV3.environment[0] === 'unknown'
(projectV3.environment.length === 1 && projectV3.environment[0] === 'unknown')
"
type="critical"
:header="formatMessage(messages.missingEnvTitle)"