diff --git a/app/src/pages/instance/allUsersPage/allUsersHeader/allUsersHeader.jsx b/app/src/pages/instance/allUsersPage/allUsersHeader/allUsersHeader.jsx index 7616ea5629..0021b6dfc2 100644 --- a/app/src/pages/instance/allUsersPage/allUsersHeader/allUsersHeader.jsx +++ b/app/src/pages/instance/allUsersPage/allUsersHeader/allUsersHeader.jsx @@ -74,15 +74,10 @@ export const AllUsersHeader = ({ onInvite }) => { }; AllUsersHeader.propTypes = { - isLoading: PropTypes.bool.isRequired, - searchValue: PropTypes.string, - setSearchValue: PropTypes.func.isRequired, - onExport: PropTypes.func, onInvite: PropTypes.func, }; AllUsersHeader.defaultProps = { searchValue: '', - onExport: () => {}, onInvite: () => {}, }; diff --git a/app/src/pages/instance/allUsersPage/allUsersPage.jsx b/app/src/pages/instance/allUsersPage/allUsersPage.jsx index f608760fd2..8f36f9ba3e 100644 --- a/app/src/pages/instance/allUsersPage/allUsersPage.jsx +++ b/app/src/pages/instance/allUsersPage/allUsersPage.jsx @@ -1,3 +1,19 @@ +/* + * Copyright 2024 EPAM Systems + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import React, { useState } from 'react'; import { useSelector } from 'react-redux'; import { useIntl, defineMessages } from 'react-intl'; diff --git a/app/src/pages/instance/allUsersPage/allUsersPage.scss b/app/src/pages/instance/allUsersPage/allUsersPage.scss index ed215c5edb..bd727e1645 100644 --- a/app/src/pages/instance/allUsersPage/allUsersPage.scss +++ b/app/src/pages/instance/allUsersPage/allUsersPage.scss @@ -1,13 +1,21 @@ +/* + * Copyright 2024 EPAM Systems + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .all-users-page { display: flex; flex-direction: column; min-height: 100%; } -/* -.loader { - display: flex; - justify-content: center; - align-items: center; - height: 100%; -} - */ \ No newline at end of file