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