Skip to content

Commit

Permalink
Merge pull request #3517 from sap-labs-france/master-qa
Browse files Browse the repository at this point in the history
Version 2.7.5 - Authorization changes
  • Loading branch information
Claude ROSSI authored Mar 1, 2023
2 parents d2fd800 + 11764da commit d45fc83
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,13 @@ export class ChargingStationsListTableDataSource extends TableDataSource<Chargin
// Edit
if (chargingStation.canUpdate) {
tableActionDef.push(this.editAction);
tableActionDef.push(this.smartChargingAction);
} else {
tableActionDef.push(this.viewAction);
}
// Charging profile
if(chargingStation.canUpdateChargingProfile) {
tableActionDef.push(this.smartChargingAction);
}
// Maintain pricing
if (this.isPricingComponentActive && chargingStation.canMaintainPricingDefinitions) {
tableActionDef.push(this.maintainPricingDefinitionsAction);
Expand Down

0 comments on commit d45fc83

Please sign in to comment.