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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/issues_list/components/issue_card_time_info.vue')
-rw-r--r--app/assets/javascripts/issues_list/components/issue_card_time_info.vue18
1 files changed, 1 insertions, 17 deletions
diff --git a/app/assets/javascripts/issues_list/components/issue_card_time_info.vue b/app/assets/javascripts/issues_list/components/issue_card_time_info.vue
index 4a2f7861492..aece7372182 100644
--- a/app/assets/javascripts/issues_list/components/issue_card_time_info.vue
+++ b/app/assets/javascripts/issues_list/components/issue_card_time_info.vue
@@ -7,25 +7,16 @@ import {
isInPast,
isToday,
} from '~/lib/utils/datetime_utility';
-import { convertToCamelCase } from '~/lib/utils/text_utility';
import { __ } from '~/locale';
export default {
components: {
GlLink,
GlIcon,
- IssueHealthStatus: () =>
- import('ee_component/related_items_tree/components/issue_health_status.vue'),
- WeightCount: () => import('ee_component/issues/components/weight_count.vue'),
},
directives: {
GlTooltip: GlTooltipDirective,
},
- inject: {
- hasIssuableHealthStatusFeature: {
- default: false,
- },
- },
props: {
issue: {
type: Object,
@@ -54,12 +45,6 @@ export default {
timeEstimate() {
return this.issue.humanTimeEstimate || this.issue.timeStats?.humanTimeEstimate;
},
- showHealthStatus() {
- return this.hasIssuableHealthStatusFeature && this.issue.healthStatus;
- },
- healthStatus() {
- return convertToCamelCase(this.issue.healthStatus);
- },
},
methods: {
milestoneRemainingTime(dueDate, startDate) {
@@ -114,7 +99,6 @@ export default {
<gl-icon name="timer" />
{{ timeEstimate }}
</span>
- <weight-count class="issuable-weight gl-mr-3" :weight="issue.weight" />
- <issue-health-status v-if="showHealthStatus" :health-status="healthStatus" />
+ <slot></slot>
</span>
</template>