Skip to content

Commit a228635

Browse files
committed
NAVIGATOR_TITLE conts
1 parent f1e3b9b commit a228635

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/Navigator/NavigatorCard.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@
3232
@keydown.up.exact.capture.prevent="focusPrev"
3333
@keydown.down.exact.capture.prevent="focusNext"
3434
>
35-
<slot name="navigator-title" className="navigator-title">
35+
<slot name="navigator-title" :className="NAVIGATOR_TITLE">
3636
<Reference
3737
v-if="technology"
3838
:id="INDEX_ROOT_KEY"
3939
:url="technologyPath"
4040
:class="[
41-
'technology-title navigator-title',
41+
'technology-title',
42+
NAVIGATOR_TITLE,
4243
{ 'router-link-exact-active': isTechnologyRoute }
4344
]"
4445
@click.alt.native.prevent="toggleAllNodes"
@@ -159,6 +160,7 @@ const NO_RESULTS = 'navigator.no-results';
159160
const NO_CHILDREN = 'navigator.no-children';
160161
const ERROR_FETCHING = 'navigator.error-fetching';
161162
const ITEMS_FOUND = 'navigator.items-found';
163+
const NAVIGATOR_TITLE = 'navigator-title';
162164
163165
/**
164166
* Renders the card for a technology and it's child symbols, in the navigator.
@@ -249,6 +251,7 @@ export default {
249251
lastFocusTarget: null,
250252
allNodesToggled: false,
251253
INDEX_ROOT_KEY,
254+
NAVIGATOR_TITLE,
252255
};
253256
},
254257
computed: {

0 commit comments

Comments
 (0)