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