ui and be for toggles

This commit is contained in:
aakashb95
2025-12-18 16:51:29 +05:30
parent 0a0f96ea0a
commit 4ac6c19c19
5 changed files with 75 additions and 19 deletions
@@ -22,6 +22,10 @@ const getters = {
const feature = $state.features[featureKey];
return feature?.default || null;
},
getSelectedModelForFeature: $state => featureKey => {
const feature = $state.features[featureKey];
return feature?.selected || feature?.default || null;
},
};
const mutations = {