Fix merge conflicts

This commit is contained in:
mabashian 2019-04-23 13:27:00 -04:00
parent 5ae7cbb43a
commit 38bb4f3f3c
3 changed files with 8 additions and 20 deletions

View File

@ -37,13 +37,11 @@ class DataListToolbar extends React.Component {
isCompact,
noLeftMargin,
onSort,
onSearch
onSearch,
onCompact,
onExpand,
onOpenDeleteModal,
onSearch,
onSelectAll,
onSort,
showAdd,
showDelete,
showSelectAll,
@ -160,7 +158,10 @@ DataListToolbar.propTypes = {
columns: PropTypes.arrayOf(PropTypes.object).isRequired,
deleteTooltip: PropTypes.node,
isAllSelected: PropTypes.bool,
isCompact: PropTypes.bool,
noLeftMargin: PropTypes.bool,
onCompact: PropTypes.func,
onExpand: PropTypes.func,
onSearch: PropTypes.func,
onSelectAll: PropTypes.func,
onSort: PropTypes.func,
@ -168,11 +169,7 @@ DataListToolbar.propTypes = {
showDelete: PropTypes.bool,
showSelectAll: PropTypes.bool,
sortOrder: PropTypes.string,
sortedColumnKey: PropTypes.string,
onCompact: PropTypes.func,
onExpand: PropTypes.func,
isCompact: PropTypes.bool,
add: PropTypes.node
sortedColumnKey: PropTypes.string
};
DataListToolbar.defaultProps = {
@ -181,6 +178,7 @@ DataListToolbar.defaultProps = {
deleteTooltip: i18nMark('Delete'),
isAllSelected: false,
isCompact: false,
noLeftMargin: false,
onCompact: null,
onExpand: null,
onSearch: null,
@ -190,13 +188,7 @@ DataListToolbar.defaultProps = {
showDelete: false,
showSelectAll: false,
sortOrder: 'ascending',
sortedColumnKey: 'name',
isAllSelected: false,
onCompact: null,
onExpand: null,
isCompact: false,
add: null,
noLeftMargin: false
sortedColumnKey: 'name'
};
export default DataListToolbar;

View File

@ -124,7 +124,7 @@ class Provider extends Component {
return (
<ConfigContext.Provider
value={{
...(propsValue || stateValue),
...value,
fetchMe: this.fetchMe,
updateConfig: this.updateConfig
}}

View File

@ -18,10 +18,6 @@ import {
withRouter
} from 'react-router-dom';
import {
PlusIcon,
} from '@patternfly/react-icons';
import { withNetwork } from '../../../contexts/Network';
import AlertModal from '../../../components/AlertModal';