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:
parent
7b60d4d2e6
commit
b90f6587c1
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue