This commit is contained in:
@@ -251,6 +251,13 @@ input {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-main-content-list-container.list-page.all-customers-list-page {
|
||||
min-height: calc(100vh - 140px);
|
||||
padding-bottom: 24px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: visible;
|
||||
}
|
||||
|
||||
.app-main-content-list-func-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -299,7 +299,14 @@ const DashboardCustomersList = ({ additionalButtons, showBreadcrumb = false, tit
|
||||
}
|
||||
|
||||
const table = <div className="list row mb-4">
|
||||
<div className="col-md-12" style={{ overflow: 'auto'}}>
|
||||
<div
|
||||
className="col-md-12"
|
||||
style={{
|
||||
overflow: 'auto',
|
||||
minHeight: isAllCustomersPage ? 'calc(100vh - 360px)' : undefined,
|
||||
paddingBottom: isAllCustomersPage ? '24px' : undefined
|
||||
}}
|
||||
>
|
||||
<table className="personnel-info-table">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -457,7 +464,7 @@ const DashboardCustomersList = ({ additionalButtons, showBreadcrumb = false, tit
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<div className={`app-main-content-list-container ${showBreadcrumb ? 'list-page' : ''}`}>
|
||||
<div className={`app-main-content-list-container ${showBreadcrumb ? 'list-page' : ''} ${isAllCustomersPage ? 'all-customers-list-page' : ''}`}>
|
||||
<div className="app-main-content-list-func-container">
|
||||
<Tabs defaultActiveKey="activeCustomers" id="customers-tab" onSelect={(k) => showArchive(k)}>
|
||||
<Tab eventKey="activeCustomers" title="Active Customers">
|
||||
|
||||
@@ -10,9 +10,6 @@ const Login = ({ setMenu}) => {
|
||||
const [username, setUsername] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const navigate = useNavigate();
|
||||
const goToCreateDispatcher = () => {
|
||||
navigate(`/employees?type=dispatcher`)
|
||||
};
|
||||
useEffect(() => {
|
||||
if (localStorage.getItem('user') && localStorage.getItem('token')) {
|
||||
if (AuthService.canAccessLegacySystem()) {
|
||||
@@ -69,9 +66,6 @@ const Login = ({ setMenu}) => {
|
||||
<div className="mb-2">
|
||||
<button className="btn btn-primary btn-login" onClick={() => loginAndRedirect()}>Sign In</button>
|
||||
</div>
|
||||
<div>
|
||||
<button className="btn btn-link btn-small btn-login" onClick={() => goToCreateDispatcher()}>Registration</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user