mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
Fix merge conflicts
This commit is contained in:
@@ -37,13 +37,11 @@ class DataListToolbar extends React.Component {
|
|||||||
isCompact,
|
isCompact,
|
||||||
noLeftMargin,
|
noLeftMargin,
|
||||||
onSort,
|
onSort,
|
||||||
onSearch
|
onSearch,
|
||||||
onCompact,
|
onCompact,
|
||||||
onExpand,
|
onExpand,
|
||||||
onOpenDeleteModal,
|
onOpenDeleteModal,
|
||||||
onSearch,
|
|
||||||
onSelectAll,
|
onSelectAll,
|
||||||
onSort,
|
|
||||||
showAdd,
|
showAdd,
|
||||||
showDelete,
|
showDelete,
|
||||||
showSelectAll,
|
showSelectAll,
|
||||||
@@ -160,7 +158,10 @@ DataListToolbar.propTypes = {
|
|||||||
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
|
||||||
deleteTooltip: PropTypes.node,
|
deleteTooltip: PropTypes.node,
|
||||||
isAllSelected: PropTypes.bool,
|
isAllSelected: PropTypes.bool,
|
||||||
|
isCompact: PropTypes.bool,
|
||||||
noLeftMargin: PropTypes.bool,
|
noLeftMargin: PropTypes.bool,
|
||||||
|
onCompact: PropTypes.func,
|
||||||
|
onExpand: PropTypes.func,
|
||||||
onSearch: PropTypes.func,
|
onSearch: PropTypes.func,
|
||||||
onSelectAll: PropTypes.func,
|
onSelectAll: PropTypes.func,
|
||||||
onSort: PropTypes.func,
|
onSort: PropTypes.func,
|
||||||
@@ -168,11 +169,7 @@ DataListToolbar.propTypes = {
|
|||||||
showDelete: PropTypes.bool,
|
showDelete: PropTypes.bool,
|
||||||
showSelectAll: PropTypes.bool,
|
showSelectAll: PropTypes.bool,
|
||||||
sortOrder: PropTypes.string,
|
sortOrder: PropTypes.string,
|
||||||
sortedColumnKey: PropTypes.string,
|
sortedColumnKey: PropTypes.string
|
||||||
onCompact: PropTypes.func,
|
|
||||||
onExpand: PropTypes.func,
|
|
||||||
isCompact: PropTypes.bool,
|
|
||||||
add: PropTypes.node
|
|
||||||
};
|
};
|
||||||
|
|
||||||
DataListToolbar.defaultProps = {
|
DataListToolbar.defaultProps = {
|
||||||
@@ -181,6 +178,7 @@ DataListToolbar.defaultProps = {
|
|||||||
deleteTooltip: i18nMark('Delete'),
|
deleteTooltip: i18nMark('Delete'),
|
||||||
isAllSelected: false,
|
isAllSelected: false,
|
||||||
isCompact: false,
|
isCompact: false,
|
||||||
|
noLeftMargin: false,
|
||||||
onCompact: null,
|
onCompact: null,
|
||||||
onExpand: null,
|
onExpand: null,
|
||||||
onSearch: null,
|
onSearch: null,
|
||||||
@@ -190,13 +188,7 @@ DataListToolbar.defaultProps = {
|
|||||||
showDelete: false,
|
showDelete: false,
|
||||||
showSelectAll: false,
|
showSelectAll: false,
|
||||||
sortOrder: 'ascending',
|
sortOrder: 'ascending',
|
||||||
sortedColumnKey: 'name',
|
sortedColumnKey: 'name'
|
||||||
isAllSelected: false,
|
|
||||||
onCompact: null,
|
|
||||||
onExpand: null,
|
|
||||||
isCompact: false,
|
|
||||||
add: null,
|
|
||||||
noLeftMargin: false
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default DataListToolbar;
|
export default DataListToolbar;
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ class Provider extends Component {
|
|||||||
return (
|
return (
|
||||||
<ConfigContext.Provider
|
<ConfigContext.Provider
|
||||||
value={{
|
value={{
|
||||||
...(propsValue || stateValue),
|
...value,
|
||||||
fetchMe: this.fetchMe,
|
fetchMe: this.fetchMe,
|
||||||
updateConfig: this.updateConfig
|
updateConfig: this.updateConfig
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -18,10 +18,6 @@ import {
|
|||||||
withRouter
|
withRouter
|
||||||
} from 'react-router-dom';
|
} from 'react-router-dom';
|
||||||
|
|
||||||
import {
|
|
||||||
PlusIcon,
|
|
||||||
} from '@patternfly/react-icons';
|
|
||||||
|
|
||||||
import { withNetwork } from '../../../contexts/Network';
|
import { withNetwork } from '../../../contexts/Network';
|
||||||
|
|
||||||
import AlertModal from '../../../components/AlertModal';
|
import AlertModal from '../../../components/AlertModal';
|
||||||
|
|||||||
Reference in New Issue
Block a user