@seniorsistemas/yms-integration 1.11.1 → 1.11.3

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.
@@ -279,7 +279,7 @@
279
279
  }
280
280
  permissions.filter(function (permission) {
281
281
  gate.isActionButton = gate.isActionButton ? true : _this.checkDefaultGatePermission(permission, gate);
282
- if (!gate.isActionButton && gate.resourceUri === permission.resource) {
282
+ if (gate.resourceUri === permission.resource) {
283
283
  gate.actions.push({ action: permission.action, authorized: permission.authorized });
284
284
  gate.isActionButton = gate.isActionButton ? true : permission.authorized;
285
285
  }