Browse Source

CHORE | Load user permissions chore changes

merge-requests/298/head
Oksana Stepanenko 2 years ago
parent
commit
80cdbe581f
  1. 2
      src/services/domain/permissions.service.ts

2
src/services/domain/permissions.service.ts

@ -26,7 +26,7 @@ class PermissionsService extends Service { @@ -26,7 +26,7 @@ class PermissionsService extends Service {
if (cached) permissions = JSON.parse(cached)
}
if (!permissions || _.isEmpty(permissions)) {
if (!permissions) {
const { data } = await fetchUserPermissionsReq()
if (version)
await AsyncStorage.setItem(

Loading…
Cancel
Save