Show cancel button next to submit button in user invite modal
This commit is contained in:
@@ -87,13 +87,15 @@ export class UmbUserCreateSuccessModalElement extends UmbModalBaseElement<
|
||||
@click=${this.#onCreateAnotherUser}
|
||||
slot="actions"
|
||||
label="Create another user"
|
||||
look="secondary"></uui-button>
|
||||
look="secondary">
|
||||
</uui-button>
|
||||
<uui-button
|
||||
@click=${this.#onGoToProfile}
|
||||
slot="actions"
|
||||
label="Go to profile"
|
||||
look="primary"
|
||||
color="positive"></uui-button>
|
||||
color="positive">
|
||||
</uui-button>
|
||||
</uui-dialog-layout>`;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,6 @@ export class UmbUserInviteModalElement extends UmbModalBaseElement {
|
||||
? html`
|
||||
<uui-button
|
||||
@click=${this._closeModal}
|
||||
style="margin-right: auto"
|
||||
slot="actions"
|
||||
label="Close"
|
||||
look="secondary"></uui-button>
|
||||
@@ -131,16 +130,17 @@ export class UmbUserInviteModalElement extends UmbModalBaseElement {
|
||||
: html`
|
||||
<uui-button
|
||||
@click=${this._closeModal}
|
||||
style="margin-right: auto"
|
||||
slot="actions"
|
||||
label="Cancel"
|
||||
look="secondary"></uui-button>
|
||||
look="secondary">
|
||||
</uui-button>
|
||||
<uui-button
|
||||
@click="${this._submitForm}"
|
||||
slot="actions"
|
||||
type="submit"
|
||||
label="Send invite"
|
||||
look="primary"></uui-button>
|
||||
look="primary">
|
||||
</uui-button>
|
||||
`}
|
||||
</uui-dialog-layout>`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user