@messaia/cdk 14.0.0-rc14 → 14.0.0-rc15
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.
package/fesm2020/messaia-cdk.mjs
CHANGED
|
@@ -4962,8 +4962,8 @@ class VdDynamicTableComponent {
|
|
|
4962
4962
|
var actionColmun = this._columns?.find(x => x.name == 'action');
|
|
4963
4963
|
/* If so, just add the menu items to it */
|
|
4964
4964
|
if (actionColmun != null) {
|
|
4965
|
-
actionColmun.
|
|
4966
|
-
this.rowMenuItems.forEach(y => actionColmun.
|
|
4965
|
+
actionColmun.menu || (actionColmun.menu = { icon: 'more_vert' });
|
|
4966
|
+
this.rowMenuItems.forEach(y => actionColmun.menu.items.unshift(y));
|
|
4967
4967
|
}
|
|
4968
4968
|
/* Otherwise add a new one */
|
|
4969
4969
|
else {
|
|
@@ -4972,7 +4972,7 @@ class VdDynamicTableComponent {
|
|
|
4972
4972
|
name: 'action',
|
|
4973
4973
|
type: TableColumnType.Action,
|
|
4974
4974
|
disabled: true,
|
|
4975
|
-
|
|
4975
|
+
menu: { icon: 'more_vert', items: this.rowMenuItems },
|
|
4976
4976
|
configurable: false
|
|
4977
4977
|
}));
|
|
4978
4978
|
}
|