Add App flavor to show topic numbering.
This commit is contained in:
parent
6fff84127c
commit
0f82134c81
|
|
@ -10,7 +10,7 @@
|
||||||
:key="topic.id"
|
:key="topic.id"
|
||||||
@click="closeSidebar('navigation')"
|
@click="closeSidebar('navigation')"
|
||||||
>
|
>
|
||||||
{{ topic.order }}.
|
<span v-if="$flavor.showTopicNavigationNumbering">{{ topic.order }}.</span>
|
||||||
{{ topic.title }}
|
{{ topic.title }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ export const defaultFlavorValues: FlavorValues = {
|
||||||
helloIllustration: 'HelloIllustration',
|
helloIllustration: 'HelloIllustration',
|
||||||
showModuleFilter: false,
|
showModuleFilter: false,
|
||||||
showLanguageFilter: false,
|
showLanguageFilter: false,
|
||||||
|
showTopicNavigationNumbering: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const myKvValues: FlavorValues = {
|
export const myKvValues: FlavorValues = {
|
||||||
|
|
@ -54,6 +55,7 @@ export const myKvValues: FlavorValues = {
|
||||||
helloIllustration: 'HelloMyKVIllustration',
|
helloIllustration: 'HelloMyKVIllustration',
|
||||||
showModuleFilter: true,
|
showModuleFilter: true,
|
||||||
showLanguageFilter: true,
|
showLanguageFilter: true,
|
||||||
|
showTopicNavigationNumbering: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const dhaValues: FlavorValues = Object.assign({}, myKvValues, {
|
export const dhaValues: FlavorValues = Object.assign({}, myKvValues, {
|
||||||
|
|
|
||||||
|
|
@ -20,4 +20,5 @@ export interface FlavorValues {
|
||||||
helloIllustration: string;
|
helloIllustration: string;
|
||||||
showModuleFilter: boolean;
|
showModuleFilter: boolean;
|
||||||
showLanguageFilter: boolean;
|
showLanguageFilter: boolean;
|
||||||
|
showTopicNavigationNumbering: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue