@solcre-org/core-ui 2.15.9 → 2.15.10
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.
|
@@ -12830,10 +12830,9 @@ class GenericTableComponent {
|
|
|
12830
12830
|
const convertedActions = [];
|
|
12831
12831
|
const extraTableActions = this.actions().filter(actionConfig => this.getMobileIsExtra(actionConfig));
|
|
12832
12832
|
extraTableActions.forEach(actionConfig => {
|
|
12833
|
-
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
return;
|
|
12833
|
+
// ✅ Usar el método hasPermission() existente en lugar de duplicar lógica
|
|
12834
|
+
if (!this.hasPermission(actionConfig)) {
|
|
12835
|
+
return;
|
|
12837
12836
|
}
|
|
12838
12837
|
if (actionConfig.shouldShow && !actionConfig.shouldShow(row)) {
|
|
12839
12838
|
return;
|
|
@@ -12856,10 +12855,8 @@ class GenericTableComponent {
|
|
|
12856
12855
|
if (customAction.shouldShow && !customAction.shouldShow(row)) {
|
|
12857
12856
|
return false;
|
|
12858
12857
|
}
|
|
12859
|
-
if (customAction
|
|
12860
|
-
|
|
12861
|
-
if (!hasPermission)
|
|
12862
|
-
return false;
|
|
12858
|
+
if (!this.hasPermission(customAction)) {
|
|
12859
|
+
return false;
|
|
12863
12860
|
}
|
|
12864
12861
|
return true;
|
|
12865
12862
|
});
|
|
@@ -15592,11 +15589,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
|
|
|
15592
15589
|
// Este archivo es generado automáticamente por scripts/update-version.js
|
|
15593
15590
|
// No edites manualmente este archivo
|
|
15594
15591
|
const VERSION = {
|
|
15595
|
-
full: '2.15.
|
|
15592
|
+
full: '2.15.10',
|
|
15596
15593
|
major: 2,
|
|
15597
15594
|
minor: 15,
|
|
15598
|
-
patch:
|
|
15599
|
-
timestamp: '2025-10-
|
|
15595
|
+
patch: 10,
|
|
15596
|
+
timestamp: '2025-10-13T11:27:13.355Z',
|
|
15600
15597
|
buildDate: '13/10/2025'
|
|
15601
15598
|
};
|
|
15602
15599
|
|