Commit 2c4997a8 authored by Bryce Johnson's avatar Bryce Johnson

Use consistent styles in transition from loading state.

parent 4d93b8cb
......@@ -76,7 +76,7 @@
gl.ApprovalsStore.initStoreOnce();
},
template: `
<div class='approvals-body mr-widget-body'>
<div class='approvals-body mr-widget-footer'>
<h4> Requires {{ approvalsRequiredStringified }}
<span v-if='showSuggestedApprovers'> (from {{ approverNamesStringified }}) </span>
</h4>
......
......@@ -51,11 +51,10 @@
= mr_assign_issues_link
- if @merge_request.requires_approve?
.mr-widget-heading{ 'v-show' => '!showApprovals' }
.ci_widget
= icon("spinner spin")
Checking approval status for this merge request.
.approvals-components{ 'v-show' => 'showApprovals' }
.mr-widget-footer{ 'v-show' => '!showApprovals' }
= icon("spinner spin")
Checking approval status for this merge request.
.approvals-component{ 'v-show' => 'showApprovals' }
= render 'projects/merge_requests/widget/open/approvals_body'
= render 'projects/merge_requests/widget/open/approvals_footer'
......
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