Commit efc563c1 authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'move-delete-to-bottom-of-list' into 'master'

Move "Delete comment" button to the bottom of "More actions" list

See merge request gitlab-org/gitlab!35237
parents ff19ae6a 772e8243
...@@ -257,15 +257,6 @@ export default { ...@@ -257,15 +257,6 @@ export default {
{{ __('Copy link') }} {{ __('Copy link') }}
</button> </button>
</li> </li>
<li v-if="canEdit">
<button
class="btn btn-transparent js-note-delete js-note-delete"
type="button"
@click.prevent="onDelete"
>
<span class="text-danger">{{ __('Delete comment') }}</span>
</button>
</li>
<li v-if="isIssue"> <li v-if="isIssue">
<button <button
class="btn-default btn-transparent" class="btn-default btn-transparent"
...@@ -276,6 +267,15 @@ export default { ...@@ -276,6 +267,15 @@ export default {
{{ displayAssignUserText }} {{ displayAssignUserText }}
</button> </button>
</li> </li>
<li v-if="canEdit">
<button
class="btn btn-transparent js-note-delete js-note-delete"
type="button"
@click.prevent="onDelete"
>
<span class="text-danger">{{ __('Delete comment') }}</span>
</button>
</li>
</ul> </ul>
</div> </div>
</div> </div>
......
---
title: Move 'Delete comment' button to bottom of 'More actions' list
merge_request: 35237
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment