vmware-archive/vmware-cloud-director-ui-components

ActionItem disabled property cannot be set to a plain boolean.

bryanvb opened this issue · 0 comments

https://github.com/vmware/vmware-cloud-director-ui-components/blob/aa4d074d44340922840524f8aed6667688995139/projects/components/src/common/interfaces/action-item.interface.ts#L59

In the code referenced:
disabled?: (records?: R[]) => boolean | boolean;

I think the intent was to allow a boolean or a function returning a boolean but instead it only allows a function returning a boolean or boolean.