@ansible/ansible-ui-framework 0.0.582 → 0.0.584
Sign up to get free protection for your applications and to get access to all the features.
@@ -42,8 +42,7 @@ function PagePinnedAction(props) {
|
|
42
42
|
wrapper: wrapper }));
|
43
43
|
}
|
44
44
|
case PageActionType_1.PageActionType.button: {
|
45
|
-
return ((0, jsx_runtime_1.jsx)(PageButtonAction_1.PageButtonAction, { action: action, isSecondary:
|
46
|
-
selectedItem !== undefined, iconOnly: props.iconOnly, wrapper: wrapper }));
|
45
|
+
return ((0, jsx_runtime_1.jsx)(PageButtonAction_1.PageButtonAction, { action: action, isSecondary: selectedItems !== undefined && selectedItems.length !== 0, iconOnly: props.iconOnly, wrapper: wrapper }));
|
47
46
|
}
|
48
47
|
case PageActionType_1.PageActionType.dropdown: {
|
49
48
|
var tooltip = action.label;
|