diff --git a/src/webcomponents/commons/tool-header.js b/src/webcomponents/commons/tool-header.js index 062dc5bcd..ef26832c0 100644 --- a/src/webcomponents/commons/tool-header.js +++ b/src/webcomponents/commons/tool-header.js @@ -63,10 +63,6 @@ export default class ToolHeader extends LitElement { } } - renderContent(content) { - return (typeof content === "function") ? content() : content; - } - render() { return html`
@@ -78,7 +74,7 @@ export default class ToolHeader extends LitElement {

${this.subtitle}

` : nothing} ${(this.rightContent || this.rhs) ? html` -
${this.renderContent(this.rightContent || this.rhs)}
+
${this.rightContent || this.rhs}
` : nothing}
`;