fix: SmartEnvInput environment context bug (#5305)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
0ce6468434
commit
7e10445f3b
2 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue