From 0d53771a812a05fdaa9b437b8bca609f36aef94d Mon Sep 17 00:00:00 2001 From: sua yoo Date: Tue, 21 May 2024 16:34:17 -0700 Subject: [PATCH] Fix editing browser profile metadata (#1812) - Fixes browser profile metadata form submission - Fixes rendering of browser profile description in list view - Changes label to "metadata" for consistency with other features --- .../src/pages/org/browser-profiles-detail.ts | 5 +++-- .../src/pages/org/browser-profiles-list.ts | 20 +++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/frontend/src/pages/org/browser-profiles-detail.ts b/frontend/src/pages/org/browser-profiles-detail.ts index f537a6b0..fdb861c5 100644 --- a/frontend/src/pages/org/browser-profiles-detail.ts +++ b/frontend/src/pages/org/browser-profiles-detail.ts @@ -300,7 +300,7 @@ export class BrowserProfilesDetail extends LiteElement { name="pencil" > ${msg("Edit Name & Description")}${msg("Edit Metadata")}
  • ${data.name} -
    -
    - ${data.description} ${data.description} ${data.description} - ${data.description} ${data.description} ${data.description} - ${data.description} -
    -
    + ${data.description + ? html`
    +
    ${data.description}
    +
    ` + : nothing}
    ${data.origins.join(", ")} - ${this.renderActions(data)} + + ${this.renderActions(data)} + `; };