fix
All checks were successful
Build And Deploy Main / build-and-deploy (push) Successful in 35s

This commit is contained in:
2026-03-10 15:00:10 -04:00
parent c62524e231
commit e6671c91fc
3 changed files with 16 additions and 8 deletions

View File

@@ -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;
}

View File

@@ -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">

View File

@@ -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>