diff options
Diffstat (limited to 'modern/src/common/util')
-rw-r--r-- | modern/src/common/util/useFeatures.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/common/util/useFeatures.js b/modern/src/common/util/useFeatures.js index 7a7ffcd2..995fbf86 100644 --- a/modern/src/common/util/useFeatures.js +++ b/modern/src/common/util/useFeatures.js @@ -19,6 +19,7 @@ export default () => useSelector((state) => { const disableVehicleFetures = get(server, user, 'ui.disableVehicleFetures'); const disableDrivers = disableVehicleFetures || get(server, user, 'ui.disableDrivers'); const disableMaintenance = disableVehicleFetures || get(server, user, 'ui.disableMaintenance'); + const disableGroups = get(server, user, 'ui.disableGroups'); const disableEvents = get(server, user, 'ui.disableEvents'); const disableComputedAttributes = get(server, user, 'ui.disableComputedAttributes'); const disableCalendars = get(server, user, 'ui.disableCalendars'); @@ -26,6 +27,7 @@ export default () => useSelector((state) => { return { disableDrivers, disableMaintenance, + disableGroups, disableEvents, disableComputedAttributes, disableCalendars, |