From e52e544f33ecb83a59537d7ee473e82b65488cb5 Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Wed, 4 Oct 2017 15:58:04 +0200 Subject: [PATCH] updating key name on display of details modal from compile tab --- src/app/tabs/compile-tab.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index da9cdbbb93..e0ff31abf8 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -370,9 +370,11 @@ function compileTab (container, appAPI, appEvents, opts) { keys.map(x => { var copyDetails = yo` { copy(details[x]) }} aria-hidden="true">` var questionMark = yo`` + var keyDisplayName + (x === 'interface') ? keyDisplayName = 'interface - abi' : keyDisplayName = x log.appendChild(yo`
-
${x} ${copyDetails} ${questionMark}
+
${keyDisplayName} ${copyDetails} ${questionMark}
${insertValue(details, x)}
`)