Commit 484f74ab authored by Justin Ho's avatar Justin Ho

Replace link HTML with GlNavItem

Better to use GitLab UI components which produce
pretty much the same syntax.
parent 873d6a78
<script>
import { GlBadge, GlTabs, GlTab } from '@gitlab/ui';
import { GlBadge, GlNavItem, GlTabs, GlTab } from '@gitlab/ui';
import { settingsTabTitle, overridesTabTitle } from '~/integrations/constants';
export default {
components: {
GlBadge,
GlNavItem,
GlTabs,
GlTab,
},
......@@ -30,11 +31,9 @@ export default {
<template>
<gl-tabs>
<template #tabs-start>
<li class="nav-item" role="presentation">
<a class="nav-link gl-tab-nav-item" :href="editPath">{{
$options.i18n.settingsTabTitle
}}</a>
</li>
<gl-nav-item role="presentation" link-classes="gl-tab-nav-item" :href="editPath">{{
$options.i18n.settingsTabTitle
}}</gl-nav-item>
</template>
<gl-tab active>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment