@zeniai/client-epic-state 4.16.34 → 4.16.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,9 +137,8 @@ const isPerformanceTabVisible = (userRole, userRoleMap) => {
137
137
  return false;
138
138
  }
139
139
  const isSuperAdminLevelAccess = (0, userRoleType_1.hasSuperAdminLevelAccess)(userRole);
140
- const isUserHasBookkeepingRole = (0, userRoleType_1.hasBookKeepingUserLevelAccess)(userRole) ||
141
- (0, userRoleType_1.hasBookKeepingAdminLevelAccess)(userRole);
142
- return isSuperAdminLevelAccess || isUserHasBookkeepingRole;
140
+ const isBookkeepingAdmin = (0, userRoleType_1.hasBookKeepingAdminLevelAccess)(userRole);
141
+ return isSuperAdminLevelAccess || isBookkeepingAdmin;
143
142
  };
144
143
  exports.isPerformanceTabVisible = isPerformanceTabVisible;
145
144
  const isRemindersSectionVisibleOnSettingsPage = (reminderNotificationSettings) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.16.34",
3
+ "version": "4.16.35",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",