Skip to content
Snippets Groups Projects

Add UI components for Beyond Identity check exclusions by Projects

Merged Jacques Erasmus requested to merge 454372-beyond-identity-exclusions-ui into master
All threads resolved!
2 files
+ 40
16
Compare changes
  • Side-by-side
  • Inline
Files
2
<script>
import { GlBadge, GlNavItem, GlTabs, GlTab } from '@gitlab/ui';
import { GlNavItem, GlTabs, GlTab } from '@gitlab/ui';
import { s__ } from '~/locale';
import { settingsTabTitle } from '~/integrations/constants';
export default {
name: 'ExclusionsTabs',
components: {
GlBadge,
GlNavItem,
GlTabs,
GlTab,
@@ -16,13 +15,6 @@ export default {
default: '',
},
},
props: {
projectOverridesCount: {
type: [Number, String],
required: false,
default: null,
},
},
i18n: {
settingsTabTitle,
projectsTabTitle: s__('Integrations|Exclusions'),
@@ -41,13 +33,6 @@ export default {
<gl-tab active>
<template #title>
{{ $options.i18n.projectsTabTitle }}
<gl-badge
v-if="projectOverridesCount !== null"
variant="muted"
size="sm"
class="gl-tab-counter-badge"
>{{ projectOverridesCount }}</gl-badge
>
</template>
</gl-tab>
</gl-tabs>
Loading