summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/reports/components/summary_row.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/reports/components/summary_row.vue')
-rw-r--r--app/assets/javascripts/reports/components/summary_row.vue9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/javascripts/reports/components/summary_row.vue b/app/assets/javascripts/reports/components/summary_row.vue
index b9fc902cd3a..3232c0edf96 100644
--- a/app/assets/javascripts/reports/components/summary_row.vue
+++ b/app/assets/javascripts/reports/components/summary_row.vue
@@ -21,7 +21,8 @@ export default {
props: {
summary: {
type: String,
- required: true,
+ required: false,
+ default: '',
},
statusIcon: {
type: String,
@@ -45,7 +46,7 @@ export default {
</script>
<template>
<div class="report-block-list-issue report-block-list-issue-parent align-items-center">
- <div class="report-block-list-icon append-right-default">
+ <div class="report-block-list-icon gl-mr-3">
<gl-loading-icon
v-if="statusIcon === 'loading'"
css-class="report-block-list-loading-icon"
@@ -58,8 +59,8 @@ export default {
class="report-block-list-issue-description-text"
data-testid="test-summary-row-description"
>
- {{ summary
- }}<span v-if="popoverOptions" class="text-nowrap"
+ <slot name="summary">{{ summary }}</slot
+ ><span v-if="popoverOptions" class="text-nowrap"
>&nbsp;<popover v-if="popoverOptions" :options="popoverOptions" class="align-top" />
</span>
</div>