Skip to content

Commit

Permalink
remove duplicate delete button on item edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
Madalyn Parker committed Jun 21, 2019
1 parent 56f0704 commit 2d7795f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ui/app/templates/components/generated-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,6 @@
{{/link-to}}
{{/if}}
</div>
<div class="control">
{{#if (eq mode "edit")}}
<ConfirmAction @buttonClasses="button" @onConfirmAction={{action "deleteItem"}}
@confirmMessage={{concat "Are you sure you want to delete " model.id "?"}} @cancelButtonText="Cancel"
data-test-item-delete="true">
Delete
</ConfirmAction>
{{/if}}
</div>
</div>
</form>
{{/if}}

0 comments on commit 2d7795f

Please sign in to comment.