@ansible/ansible-ui-framework 0.0.585 → 0.0.587
Sign up to get free protection for your applications and to get access to all the features.
@@ -41,7 +41,7 @@ function SelectMultipleDialog(props) {
|
|
41
41
|
var onClose = (0, react_1.useCallback)(function () { return setDialog(undefined); }, [setDialog]);
|
42
42
|
var _d = __read((0, useFrameworkTranslations_1.useFrameworkTranslations)(), 1), translations = _d[0];
|
43
43
|
return ((0, jsx_runtime_1.jsx)(react_core_1.Modal, __assign({ title: title, isOpen: true, onClose: onClose, variant: react_core_1.ModalVariant.medium, tabIndex: 0, actions: [
|
44
|
-
(0, jsx_runtime_1.jsx)(react_core_1.Button, __assign({ variant: "primary", onClick: function () {
|
44
|
+
(0, jsx_runtime_1.jsx)(react_core_1.Button, __assign({ variant: "primary", id: "confirm", onClick: function () {
|
45
45
|
onClose();
|
46
46
|
onSelect(view.selectedItems);
|
47
47
|
}, isAriaDisabled: view.selectedItems.length === 0 }, { children: confirmText !== null && confirmText !== void 0 ? confirmText : translations.confirmText }), "confirm"),
|