mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-27 17:19:42 -04:00
mask template tag title popup when preview is disabled (#1995)
This commit is contained in:
1 parent
7aae21154a
commit
39c73e17c5
1 file changed
+2
-1
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user