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

resource_parent_link.vue « components « contribution_events « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd7b20ac79431660c3a74f7ca65c5a4684c0e149 (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
<script>
import { GlLink } from '@gitlab/ui';

export default {
  components: { GlLink },
  props: {
    event: {
      type: Object,
      required: true,
    },
  },
  computed: {
    resourceParent() {
      return this.event.resource_parent;
    },
  },
};
</script>

<template>
  <gl-link v-if="resourceParent" :href="resourceParent.web_url">{{
    resourceParent.full_name
  }}</gl-link>
</template>