UX: Remove label and add danger class to remove draft button (#11165)

This commit is contained in:
Joe 2020-11-09 15:28:39 +08:00 committed by GitHub
parent f70b330e7a
commit 3414566466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,6 +68,6 @@
{{#if @item.editableDraft}}
<div class="user-stream-item-draft-actions">
{{d-button action=@resumeDraft actionParam=@item icon="pencil-alt" label="drafts.resume" class="btn-default resume-draft"}}
{{d-button action=@removeDraft actionParam=@item icon="far-trash-alt" label="drafts.remove" class="btn-default remove-draft"}}
{{d-button action=@removeDraft actionParam=@item icon="far-trash-alt" class="btn-danger remove-draft"}}
</div>
{{/if}}