summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_sha_mismatch.js
blob: af19cf6ab87f1e3f306c2c255d90adcbc8f6577e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import statusIcon from '../mr_widget_status_icon';

export default {
  name: 'MRWidgetSHAMismatch',
  components: {
    statusIcon,
  },
  template: `
    <div class="mr-widget-body media">
      <status-icon status="failed" :show-disabled-button="true" />
      <div class="media-body space-children">
        <span class="bold">
          The source branch HEAD has recently changed. Please reload the page and review the changes before merging
        </span>
      </div>
    </div>
  `,
};