Add feature flag for language filter in client
Resolves MS-786 #complete
This commit is contained in:
parent
1c99ab9f42
commit
b3ced207cc
|
|
@ -11,7 +11,10 @@
|
||||||
/>
|
/>
|
||||||
<search-magnifying-glass class="filter-bar__search-icon"></search-magnifying-glass>
|
<search-magnifying-glass class="filter-bar__search-icon"></search-magnifying-glass>
|
||||||
</div>
|
</div>
|
||||||
<language-switcher class="filter-bar__language-selection" />
|
<language-switcher
|
||||||
|
class="filter-bar__language-selection"
|
||||||
|
v-if="$flavor.showLanguageFilter"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ export const defaultFlavorValues: FlavorValues = {
|
||||||
showEHB: true,
|
showEHB: true,
|
||||||
helloIllustration: 'HelloIllustration',
|
helloIllustration: 'HelloIllustration',
|
||||||
showModuleFilter: false,
|
showModuleFilter: false,
|
||||||
|
showLanguageFilter: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const myKvValues: FlavorValues = {
|
export const myKvValues: FlavorValues = {
|
||||||
|
|
@ -52,6 +53,7 @@ export const myKvValues: FlavorValues = {
|
||||||
showEHB: false,
|
showEHB: false,
|
||||||
helloIllustration: 'HelloMyKVIllustration',
|
helloIllustration: 'HelloMyKVIllustration',
|
||||||
showModuleFilter: true,
|
showModuleFilter: true,
|
||||||
|
showLanguageFilter: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const dhaValues: FlavorValues = Object.assign({}, myKvValues, {
|
export const dhaValues: FlavorValues = Object.assign({}, myKvValues, {
|
||||||
|
|
|
||||||
|
|
@ -19,4 +19,5 @@ export interface FlavorValues {
|
||||||
showEHB: boolean;
|
showEHB: boolean;
|
||||||
helloIllustration: string;
|
helloIllustration: string;
|
||||||
showModuleFilter: boolean;
|
showModuleFilter: boolean;
|
||||||
|
showLanguageFilter: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue