Commit f2d25e31 authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

Extensions WebUI: when showing errors, remove extra dom-if for code section

Bug: 935334
Change-Id: Ib82d26cda4b4056da4dfa474a376d226949e72bd
Reviewed-on: https://chromium-review.googlesource.com/c/1490396Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
Commit-Queue: Esmael El-Moslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#635842}
parent c6a932cc
......@@ -66,7 +66,7 @@
.error-item {
@apply --cr-section;
padding-left: 0;
padding-inline-start: 0;
}
.error-item paper-icon-button-light {
......@@ -202,12 +202,9 @@
</template>
</ul>
</template>
<template is="dom-if"
if="[[isOpened_(index, selectedEntry_)]]">
<extensions-code-section code="[[code_]]"
could-not-display-code="$i18n{noErrorsToShow}">
</extensions-code-section>
</template>
<extensions-code-section code="[[code_]]"
could-not-display-code="$i18n{noErrorsToShow}">
</extensions-code-section>
</div>
</iron-collapse>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment