Re-enable instrument filter for myKV

This commit is contained in:
Ramon Wenger 2022-10-04 09:24:14 +02:00
parent c89567d611
commit 1d4ce5abcb
2 changed files with 1 additions and 5 deletions

View File

@ -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,
});

View File

@ -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;