move workspace modal close btn

This commit is contained in:
Niels Lyngsø
2023-06-07 08:00:56 +02:00
parent 16ed25b974
commit e40d7b1c5a

View File

@@ -59,10 +59,10 @@ export class UmbWorkspaceFooterLayoutElement extends UmbLitElement {
return html`
<umb-footer-layout>
<slot></slot>
<slot name="actions" slot="actions"></slot>
${this.#modalContext
? html`<uui-button slot="actions" label="Close" @click=${this._onClose}></uui-button>`
: ''}
<slot name="actions" slot="actions"></slot>
<umb-extension-slot
slot="actions"
type="workspaceAction"