mirror of
https://github.com/Kong/insomnia.git
synced 2026-04-21 14:47:46 -04:00
fix: subEnvironment's id should be real id instead of n/a (#7339)
This commit is contained in:
@@ -330,7 +330,7 @@ export async function getRenderContext(
|
||||
workspace ? workspace._id : 'n/a',
|
||||
);
|
||||
const subEnvironmentId = environment ?
|
||||
typeof environment === 'string' ? environment : 'n/a' :
|
||||
typeof environment === 'string' ? environment : environment._id :
|
||||
'n/a';
|
||||
const subEnvironment = environment ?
|
||||
typeof environment === 'string' ? await models.environment.getById(environment) : environment :
|
||||
|
||||
Reference in New Issue
Block a user