diff --git a/app/assets/javascripts/admin/projects/index/components/app.vue b/app/assets/javascripts/admin/projects/index/components/app.vue index fb4805a2195b74eaa2f07a4a2a0667c8073615f2..c1500ef44113ebb6ae60a2916398fb16614f891d 100644 --- a/app/assets/javascripts/admin/projects/index/components/app.vue +++ b/app/assets/javascripts/admin/projects/index/components/app.vue @@ -8,13 +8,11 @@ import { FILTERED_SEARCH_TOKEN_REPOSITORY_CHECK_FAILED, } from '~/groups_projects/constants'; import { RECENT_SEARCHES_STORAGE_KEY_PROJECTS } from '~/filtered_search/recent_searches_storage_keys'; -import glFeatureFlagMixin from '~/vue_shared/mixins/gl_feature_flags_mixin'; import { TIMESTAMP_TYPE_CREATED_AT, TIMESTAMP_TYPE_LAST_ACTIVITY_AT, } from '~/vue_shared/components/resource_lists/constants'; import projectCountsQuery from '~/admin/projects/index/graphql/queries/project_counts.query.graphql'; -import adminProjectsQuery from '~/admin/projects/index/graphql/queries/admin_projects.query.graphql'; import { ADMIN_PROJECTS_TABS, SORT_OPTIONS, @@ -49,30 +47,18 @@ export default { components: { TabsWithList, }, - mixins: [glFeatureFlagMixin()], props: { programmingLanguages: { type: Array, required: true, }, }, - computed: { - tabs() { - const tabs = this.$options.ADMIN_PROJECTS_TABS; - - if (this.glFeatures.customAbilityReadAdminProjects) { - return tabs.map((tab) => ({ ...tab, query: adminProjectsQuery })); - } - - return tabs; - }, - }, };