mirror of https://github.com/status-im/consul.git
ui: Make sure the intention create form has a cancel button (#8308)
This commit is contained in:
parent
8beca1cb8d
commit
76abc184ae
|
@ -147,8 +147,8 @@
|
|||
|
||||
<div>
|
||||
<button type="submit" disabled={{or api.data.isInvalid api.disabled}}>Save</button>
|
||||
{{#if (not api.isCreate)}}
|
||||
<button type="reset" onclick={{action oncancel api.data}} disabled={{api.disabled}}>Cancel</button>
|
||||
{{#if (not api.isCreate)}}
|
||||
{{#if (not-eq form.item.ID 'anonymous') }}
|
||||
<ConfirmationDialog @message="Are you sure you want to delete this Intention?">
|
||||
<BlockSlot @name="action" as |confirm|>
|
||||
|
|
Loading…
Reference in New Issue