Commit e5f26cd2 authored by Samantha Ming's avatar Samantha Ming

Show blank empty text for approved by in MR widget

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/233082
parent d7bbc0a7
......@@ -164,7 +164,7 @@ export default {
{{ pendingApprovalsText(rule) }}
</td>
<td class="d-none d-sm-table-cell js-approved-by">
<user-avatar-list :items="rule.approved_by" :img-size="24" />
<user-avatar-list :items="rule.approved_by" :img-size="24" empty-text="" />
</td>
</tr>
</tbody>
......
---
title: Show blank empty text for approved by in MR widget
merge_request: 38436
author:
type: changed
......@@ -160,6 +160,7 @@ describe('EE MRWidget approvals list', () => {
expect(approvers.props()).toEqual(
expect.objectContaining({
items: rule.approved_by,
emptyText: '',
}),
);
});
......
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