Welcome to mirror list, hosted at ThFree Co, Russian Federation.

diff_inline_findings.vue « components « diffs « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 59f920407762fa2678dc5c32d0300c75bb07ed67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script>
import DiffInlineFindingsItem from './diff_inline_findings_item.vue';

export default {
  components: { DiffInlineFindingsItem },
  props: {
    title: {
      type: String,
      required: true,
    },
    findings: {
      type: Array,
      required: true,
    },
  },
};
</script>

<template>
  <div>
    <h4 data-testid="diff-inline-findings-heading" class="gl-my-0 gl-font-base gl-font-regular">
      {{ title }}
    </h4>
    <ul class="gl-list-style-none gl-mb-0 gl-p-0">
      <diff-inline-findings-item
        v-for="finding in findings"
        :key="finding.description"
        :finding="finding"
      />
    </ul>
  </div>
</template>