Commit 4ed1372e authored by Lee Tickett's avatar Lee Tickett Committed by Phil Hughes
Browse files

Fix misaligned approval tr

parent d2fcec7d
---
title: Fix misaligned approval tr
merge_request: 21368
author: Lee Tickett
type: fixed
......@@ -137,7 +137,10 @@ export default {
</div>
</div>
</td>
<td v-if="!rule.fallback" class="d-none d-sm-table-cell js-approvers">
<td
v-if="rule.rule_type !== $options.ruleTypeAnyApprover"
class="d-none d-sm-table-cell js-approvers"
>
<div><user-avatar-list :items="rule.approvers" :img-size="24" empty-text="" /></div>
</td>
<td class="w-0 d-none d-sm-table-cell text-nowrap js-pending">
......
......@@ -35,6 +35,7 @@ const testRuleFallback = () => ({
id: 'fallback',
name: '',
fallback: true,
rule_type: 'any_approver',
approvals_required: 3,
approved_by: [{ id: 1 }, { id: 2 }],
approvers: [],
......
Supports Markdown
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