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
|
// myKV flags
|
||||||
showFooter: false,
|
showFooter: false,
|
||||||
showObjectivesTitle: false,
|
showObjectivesTitle: false,
|
||||||
showInstrumentFilterSidebar: false,
|
showInstrumentFilterSidebar: true,
|
||||||
showPortfolio: true,
|
showPortfolio: true,
|
||||||
showEHB: false,
|
showEHB: false,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,7 @@ const instrumentType = (instrument) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const instrumentCategory = (instrument) => {
|
const instrumentCategory = (instrument) => {
|
||||||
if (flavor.appFlavor === 'my-kv') {
|
|
||||||
return flavor.textInstruments;
|
|
||||||
} else {
|
|
||||||
return `${flavor.textInstruments} - ${instrumentType(instrument)}`;
|
return `${flavor.textInstruments} - ${instrumentType(instrument)}`;
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default instrumentType;
|
export default instrumentType;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue