Revision 1cbea296
Added by Maria Agaphontzev 12 months ago
webpack/assets/javascripts/react_app/components/ColumnSelector/ColumnSelector.js | ||
---|---|---|
<div className="pf-c-select-input">
|
||
<div className="pf-c-input-group" id="column-selector">
|
||
<Button
|
||
ouiaId="manage-columns-button"
|
||
id="btn-select-columns"
|
||
variant="link"
|
||
icon={<ColumnsIcon />}
|
||
... | ... | |
<span className="columns-selector-text">{__('Manage columns')}</span>
|
||
</Button>
|
||
<Modal
|
||
ouiaId="manage-columns-modal"
|
||
variant={ModalVariant.small}
|
||
title={__('Manage columns')}
|
||
isOpen={isModalOpen}
|
||
... | ... | |
position="top"
|
||
actions={[
|
||
<Button
|
||
ouiaId="save-columns-button"
|
||
key="save"
|
||
variant="primary"
|
||
onClick={() => updateTablePreference()}
|
||
>
|
||
{__('Save')}
|
||
</Button>,
|
||
<Button key="cancel" variant="secondary" onClick={toggleModal}>
|
||
<Button
|
||
ouiaId="cancel-columns-button"
|
||
key="cancel"
|
||
variant="secondary"
|
||
onClick={toggleModal}
|
||
>
|
||
{__('Cancel')}
|
||
</Button>,
|
||
]}
|
Also available in: Unified diff
Fixes #36470 - Add missing ouia-ids to all pf4