mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
mask template tag title popup when preview is disabled (#1995)
This commit is contained in:
parent
7aae21154a
commit
39c73e17c5
@ -268,7 +268,8 @@ async function _updateElementText(render, mark, text, renderContext, isVariableU
|
||||
} else {
|
||||
innerHTML = tagDefinition.displayName || tagData.name;
|
||||
}
|
||||
title = await render(text);
|
||||
const preview = await render(text);
|
||||
title = tagDefinition.disablePreview(tagData.args) ? preview.replace(/./g, '*') : preview;
|
||||
} else {
|
||||
innerHTML = cleanedStr;
|
||||
title = 'Unrecognized tag';
|
||||
|
Loading…
Reference in New Issue
Block a user