fix(core): update

This commit is contained in:
Philipp Kunz 2021-08-25 16:10:56 +02:00
parent c1e7629f1f
commit 260c4a269a
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ export class DeesButton extends DeesElement {
: null}"
@click="${this.dispatchClick}"
>
${this.text ? this.text : this.textContent}
${this.text ? this.text : html`<slot></slot>`}
</div>
`;
}

View File

@ -28,7 +28,7 @@ export class DeesFormSubmit extends DeesElement {
public static styles = [cssManager.defaultStyles, css``];
public render() {
return html`<dees-button @click="${this.submit}" .disabled="${this.disabled}">${this.text ? this.text : this.textContent}</dees-button> `;
return html`<dees-button @click="${this.submit}" .disabled="${this.disabled}">${this.text ? this.text : html`<slot></slot>`}</dees-button> `;
}
public async submit() {