diff --git a/web/src/admin/flows/BoundStagesList.ts b/web/src/admin/flows/BoundStagesList.ts index dc131f2c57..a2b9c3a4d0 100644 --- a/web/src/admin/flows/BoundStagesList.ts +++ b/web/src/admin/flows/BoundStagesList.ts @@ -127,11 +127,15 @@ export class BoundStagesList extends Table { protected override renderExpanded(item: FlowStageBinding): TemplateResult { return html`
-

${msg("These bindings control if this stage will be applied to the flow.")}

+ ${msg( + "These bindings control if this stage will be applied to the flow.", + )}
`; } diff --git a/web/src/admin/policies/BoundPoliciesList.ts b/web/src/admin/policies/BoundPoliciesList.ts index 80898b888e..eca5a7fa6d 100644 --- a/web/src/admin/policies/BoundPoliciesList.ts +++ b/web/src/admin/policies/BoundPoliciesList.ts @@ -242,10 +242,15 @@ export class BoundPoliciesList extends if (policyEngineMode === undefined) { return nothing; } - return html`

- ${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)} - ${policyEngineMode.description} -

`; + return html`${this.findSlotted("description") + ? html`

+ +

` + : nothing} +

+ ${msg(str`The currently selected policy engine mode is ${policyEngineMode.label}:`)} + ${policyEngineMode.description} +

`; } renderToolbarContainer(): SlottedTemplateResult {