diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts index 324d7b84d9..d4f23a9f0f 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/debug/debug.element.ts @@ -182,10 +182,11 @@ export class UmbDebug extends UmbLitElement { ${methodNames.map((methodName) => html`
  • ${methodName}
  • `)} - `); + ` + ); } - instanceTemplates.push(html`
  • Properties
  • `); + const props: TemplateResult[] = []; for (const key in instance) { if (key.startsWith('_')) { @@ -194,11 +195,20 @@ export class UmbDebug extends UmbLitElement { const value = instance[key]; if (typeof value === 'string') { - instanceTemplates.push(html`
  • ${key} = ${value}
  • `); + props.push(html`
  • ${key} = ${value}
  • `); } else { - instanceTemplates.push(html`
  • ${key} (${typeof value})
  • `); + props.push(html`
  • ${key} (${typeof value})
  • `); } } + + instanceTemplates.push(html` +
  • + Properties + +
  • + `); } else { instanceTemplates.push(html`
  • Context is a primitive with value: ${instance}
  • `); }