summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Poucet <poucet@google.com>2022-09-29 10:02:29 +0000
committerChris Poucet <poucet@google.com>2022-09-29 10:02:29 +0000
commit342a3922b7a3c1f9e841addf89b3a7ecfd4550e2 (patch)
treee47fb81b773c0442695ef269197cd253d2f3eebf
parent84f2a15e6db22a8d0b764b857643fe0a606df88c (diff)
Revert "Use HTMLPatched for all html stanzas leading down to files."
This reverts commit 84f2a15e6db22a8d0b764b857643fe0a606df88c. Reason for revert: This breaks in compiled mode Change-Id: I927dfab546f3b1b7c9afa3a450be686e5b2f2ba8
-rw-r--r--polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
index a0e4c89d6d..731f227b2c 100644
--- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
+++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.ts
@@ -882,7 +882,7 @@ export class GrFileList extends LitElement {
override render() {
this.classList.toggle('editMode', this.editMode);
const patchChange = this.calculatePatchChange();
- return this.patched.html`
+ return html`
<h3 class="assistive-tech-only">File list</h3>
${this.renderContainer()} ${this.renderChangeTotals(patchChange)}
${this.renderBinaryTotals(patchChange)} ${this.renderControlRow()}
@@ -895,7 +895,7 @@ export class GrFileList extends LitElement {
}
private renderContainer() {
- return this.patched.html`
+ return html`
<div
id="container"
@click=${(e: MouseEvent) => this.handleFileListClick(e)}
@@ -1013,7 +1013,7 @@ export class GrFileList extends LitElement {
this.reportRenderedRow(index);
const previousFileName = this.shownFiles[index - 1]?.__path;
const patchSetFile = this.computePatchSetFile(file);
- return this.patched.html` <div class="stickyArea">
+ return html` <div class="stickyArea">
<div
class=${`file-row row ${this.computePathClass(file.__path)}`}
data-file=${JSON.stringify(patchSetFile)}