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/contribution_events/components/contribution_events.vue')
-rw-r--r--app/assets/javascripts/contribution_events/components/contribution_events.vue34
1 files changed, 33 insertions, 1 deletions
diff --git a/app/assets/javascripts/contribution_events/components/contribution_events.vue b/app/assets/javascripts/contribution_events/components/contribution_events.vue
index 41ec4f5692e..62c803b9217 100644
--- a/app/assets/javascripts/contribution_events/components/contribution_events.vue
+++ b/app/assets/javascripts/contribution_events/components/contribution_events.vue
@@ -1,7 +1,21 @@
<script>
import EmptyComponent from '~/vue_shared/components/empty_component';
-import { EVENT_TYPE_APPROVED } from '../constants';
+import {
+ EVENT_TYPE_APPROVED,
+ EVENT_TYPE_EXPIRED,
+ EVENT_TYPE_JOINED,
+ EVENT_TYPE_LEFT,
+ EVENT_TYPE_PUSHED,
+ EVENT_TYPE_PRIVATE,
+ EVENT_TYPE_MERGED,
+} from '../constants';
import ContributionEventApproved from './contribution_event/contribution_event_approved.vue';
+import ContributionEventExpired from './contribution_event/contribution_event_expired.vue';
+import ContributionEventJoined from './contribution_event/contribution_event_joined.vue';
+import ContributionEventLeft from './contribution_event/contribution_event_left.vue';
+import ContributionEventPushed from './contribution_event/contribution_event_pushed.vue';
+import ContributionEventPrivate from './contribution_event/contribution_event_private.vue';
+import ContributionEventMerged from './contribution_event/contribution_event_merged.vue';
export default {
props: {
@@ -99,6 +113,24 @@ export default {
case EVENT_TYPE_APPROVED:
return ContributionEventApproved;
+ case EVENT_TYPE_EXPIRED:
+ return ContributionEventExpired;
+
+ case EVENT_TYPE_JOINED:
+ return ContributionEventJoined;
+
+ case EVENT_TYPE_LEFT:
+ return ContributionEventLeft;
+
+ case EVENT_TYPE_PUSHED:
+ return ContributionEventPushed;
+
+ case EVENT_TYPE_PRIVATE:
+ return ContributionEventPrivate;
+
+ case EVENT_TYPE_MERGED:
+ return ContributionEventMerged;
+
default:
return EmptyComponent;
}