blob: 052bc53d610757eda2fc2afa777f3d5c6f757aa1 (
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
33
34
35
|
<script>
export default {
name: 'ReportIssueLink',
props: {
issue: {
type: Object,
required: true,
},
},
};
</script>
<template>
<div class="report-block-list-issue-description-link">
in
<a
v-if="issue.urlPath"
:href="issue.urlPath"
target="_blank"
rel="noopener noreferrer nofollow"
class="break-link"
>
{{ issue.path
}}<template v-if="issue.line"
>:{{ issue.line }}</template
>
</a>
<template v-else>
{{ issue.path
}}<template v-if="issue.line"
>:{{ issue.line }}</template
>
</template>
</div>
</template>
|