Re-enable instrument filter for myKV
This commit is contained in:
parent
c89567d611
commit
1d4ce5abcb
|
|
@ -40,7 +40,7 @@ if (process.env.VUE_APP_FLAVOR === 'my-kv') {
|
|||
// myKV flags
|
||||
showFooter: false,
|
||||
showObjectivesTitle: false,
|
||||
showInstrumentFilterSidebar: false,
|
||||
showInstrumentFilterSidebar: true,
|
||||
showPortfolio: true,
|
||||
showEHB: false,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -12,11 +12,7 @@ const instrumentType = (instrument) => {
|
|||
};
|
||||
|
||||
const instrumentCategory = (instrument) => {
|
||||
if (flavor.appFlavor === 'my-kv') {
|
||||
return flavor.textInstruments;
|
||||
} else {
|
||||
return `${flavor.textInstruments} - ${instrumentType(instrument)}`;
|
||||
}
|
||||
};
|
||||
|
||||
export default instrumentType;
|
||||
|
|
|
|||
Loading…
Reference in New Issue