Reverted resource value display to show "False", because for IAM rules it makes sense and expresses if it the rule is enabled or not.

This commit is contained in:
VakarisZ 2021-01-13 16:52:23 +02:00
parent 7b60d4d2e6
commit b90f6587c1
1 changed files with 7 additions and 11 deletions

View File

@ -54,16 +54,12 @@ export default function ResourceDropdown(props) {
} }
function getResourceValueDisplay() { function getResourceValueDisplay() {
if (resource_value) {
return ( return (
<div> <div>
<p className={'resource-value-title'}>Value:</p> <p className={'resource-value-title'}>Value:</p>
<pre className={'resource-value-json'}>{prettyPrintJson(resource_value)}</pre> <pre className={'resource-value-json'}>{prettyPrintJson(resource_value)}</pre>
</div> </div>
); );
} else {
return '';
}
} }
function getResourceDropdownContents() { function getResourceDropdownContents() {