diff --git a/app/assets/javascripts/integrations/index/components/integrations_table.vue b/app/assets/javascripts/integrations/index/components/integrations_table.vue index 4c5bdfd5333b2960566740d8d89f398afc8c852b..f30875de3092fd6c72acfa0202370ee03cfdc0b3 100644 --- a/app/assets/javascripts/integrations/index/components/integrations_table.vue +++ b/app/assets/javascripts/integrations/index/components/integrations_table.vue @@ -50,7 +50,7 @@ export default { }, computed: { fields() { - if (this.filteredIntegrations.length === 0) { + if (this.integrations.length === 0) { return []; } @@ -71,7 +71,7 @@ export default { }, ); - if (!this.inactive && this.filteredIntegrations.length > 0) { + if (!this.inactive && this.integrations.length > 0) { fields.push({ key: 'updated_at', label: this.showUpdatedAt ? __('Last updated') : '', @@ -90,12 +90,6 @@ export default { return fields; }, - filteredIntegrations() { - return this.integrations.filter( - (integration) => - !(integration.name === 'prometheus' && this.glFeatures.removeMonitorMetrics), - ); - }, }, methods: { getStatusTooltipTitle(integration) { @@ -115,7 +109,7 @@ export default {