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> <script>
import { GlBadge, GlTabs, GlTab } from '@gitlab/ui'; import { GlBadge, GlNavItem, GlTabs, GlTab } from '@gitlab/ui';
import { settingsTabTitle, overridesTabTitle } from '~/integrations/constants'; import { settingsTabTitle, overridesTabTitle } from '~/integrations/constants';
export default { export default {
components: { components: {
GlBadge, GlBadge,
GlNavItem,
GlTabs, GlTabs,
GlTab, GlTab,
}, },
...@@ -30,11 +31,9 @@ export default { ...@@ -30,11 +31,9 @@ export default {
<template> <template>
<gl-tabs> <gl-tabs>
<template #tabs-start> <template #tabs-start>
<li class="nav-item" role="presentation"> <gl-nav-item role="presentation" link-classes="gl-tab-nav-item" :href="editPath">{{
<a class="nav-link gl-tab-nav-item" :href="editPath">{{
$options.i18n.settingsTabTitle $options.i18n.settingsTabTitle
}}</a> }}</gl-nav-item>
</li>
</template> </template>
<gl-tab active> <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