fix: SmartEnvInput environment context bug (#5305)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Nivedin 2025-08-05 13:39:43 +05:30 committed by GitHub
parent 0ce6468434
commit 7e10445f3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
<HttpRequest v-model="tab" />
<HttpRequestOptions
v-model="tab.document.request"
v-model:option-tab="tab.document.optionTabPreference"
v-model:option-tab="tab.document.optionTabPreference!"
v-model:inherited-properties="tab.document.inheritedProperties"
/>
</template>

View file

@ -376,7 +376,7 @@ const aggregateEnvs = useReadonlyStream(
const tabs = useService(RESTTabService)
const envVars = computed(() => {
if (props.envs) {
if (props.envs?.length) {
return props.envs.map((x) => {
const { key, secret } = x
const currentValue = secret ? "********" : x.currentValue