Not able to set client settings in mobile app
This commit is contained in:
parent
f41ccf2dba
commit
beb14f4591
|
|
@ -368,13 +368,12 @@ void handleClientAction(
|
|||
}
|
||||
break;
|
||||
case EntityAction.settings:
|
||||
// Add the settings list to the route stack to improve the back button
|
||||
if (state.prefState.isMobile) {
|
||||
viewEntitiesByType(entityType: EntityType.settings);
|
||||
}
|
||||
store.dispatch(ViewSettings(
|
||||
company: store.state.company,
|
||||
user: store.state.user,
|
||||
client: client,
|
||||
section: kSettingsLocalization,
|
||||
section: state.prefState.isDesktop ? kSettingsLocalization : null,
|
||||
clearFilter: true,
|
||||
));
|
||||
break;
|
||||
case EntityAction.newTask:
|
||||
|
|
|
|||
|
|
@ -235,13 +235,12 @@ void handleGroupAction(
|
|||
editEntity(entity: group);
|
||||
break;
|
||||
case EntityAction.settings:
|
||||
// Add the settings list to the route stack to improve the back button
|
||||
if (state.prefState.isMobile) {
|
||||
viewEntitiesByType(entityType: EntityType.settings);
|
||||
}
|
||||
store.dispatch(ViewSettings(
|
||||
company: store.state.company,
|
||||
user: store.state.user,
|
||||
group: group,
|
||||
section: kSettingsCompanyDetails,
|
||||
section: state.prefState.isDesktop ? kSettingsLocalization : null,
|
||||
clearFilter: true,
|
||||
));
|
||||
break;
|
||||
case EntityAction.newClient:
|
||||
|
|
|
|||
Loading…
Reference in New Issue