@ansible/ansible-ui-framework 0.0.221 → 0.0.223
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.
@@ -36,7 +36,7 @@ function TypedActionButton(props) {
|
|
36
36
|
return ((0, jsx_runtime_1.jsx)(ActionBulkButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
|
37
37
|
}
|
38
38
|
case TypedActions_1.TypedActionType.button: {
|
39
|
-
return (0, jsx_runtime_1.jsx)(ActionButton, { action: action, noPrimary: noPrimary, wrapper: wrapper });
|
39
|
+
return ((0, jsx_runtime_1.jsx)(ActionButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
|
40
40
|
}
|
41
41
|
case TypedActions_1.TypedActionType.dropdown: {
|
42
42
|
return ((0, jsx_runtime_1.jsx)(TypedActions_1.TypedActionsDropdown, { actions: action.options, selectedItems: selectedItems, label: action.label, isPrimary: action.variant === react_core_1.ButtonVariant.primary && !(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) }));
|
@@ -21,7 +21,7 @@ export function TypedActionButton(props) {
|
|
21
21
|
return (_jsx(ActionBulkButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
|
22
22
|
}
|
23
23
|
case TypedActionType.button: {
|
24
|
-
return _jsx(ActionButton, { action: action, noPrimary: noPrimary, wrapper: wrapper });
|
24
|
+
return (_jsx(ActionButton, { action: action, selectedItems: selectedItems, noPrimary: noPrimary, wrapper: wrapper }));
|
25
25
|
}
|
26
26
|
case TypedActionType.dropdown: {
|
27
27
|
return (_jsx(TypedActionsDropdown, { actions: action.options, selectedItems: selectedItems, label: action.label, isPrimary: action.variant === ButtonVariant.primary && !selectedItems?.length }));
|
package/package.json
CHANGED