Add flavor for showModuleFilters
This commit is contained in:
parent
020c4846c4
commit
d059a4d82a
|
|
@ -13,7 +13,7 @@
|
|||
{{ module.metaTitle }}
|
||||
</h2>
|
||||
|
||||
<div class="module__categoryindicators">
|
||||
<div class="module__categoryindicators" v-if="$flavor.showModuleFilter">
|
||||
<pill :text="module.level?.name"></pill>
|
||||
<pill :text="module.category?.name"></pill>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="module-filter">
|
||||
<div class="module-filter__filter-selection">
|
||||
<div class="module-filter__filter-selection" v-if="$flavor.showModuleFilter">
|
||||
<Dropdown
|
||||
class="module-filter__dropdown"
|
||||
:selected-item="selectedLevel"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<p class="module-teaser__description">
|
||||
{{ teaser }}
|
||||
</p>
|
||||
<div class="module-teaser__pills">
|
||||
<div class="module-teaser__pills" v-if="$flavor.showModuleFilter">
|
||||
<pill :text="level?.name"></pill>
|
||||
<pill :text="category?.name"></pill>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ export const defaultFlavorValues: FlavorValues = {
|
|||
showPortfolio: true,
|
||||
showEHB: true,
|
||||
helloIllustration: 'HelloIllustration',
|
||||
showModuleFilter: false,
|
||||
};
|
||||
|
||||
export const myKvValues: FlavorValues = {
|
||||
|
|
@ -50,6 +51,7 @@ export const myKvValues: FlavorValues = {
|
|||
showInstrumentSubCategories: false,
|
||||
showEHB: false,
|
||||
helloIllustration: 'HelloMyKVIllustration',
|
||||
showModuleFilter: true,
|
||||
};
|
||||
|
||||
export const dhaValues: FlavorValues = Object.assign({}, myKvValues, {
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@ export interface FlavorValues {
|
|||
showPortfolio: boolean;
|
||||
showEHB: boolean;
|
||||
helloIllustration: string;
|
||||
showModuleFilter: boolean;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue