mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 15:05:45 +01:00
reworked scheduling
This commit is contained in:
@@ -282,12 +282,7 @@ const Dashboard: React.FC = () => {
|
||||
percentage
|
||||
};
|
||||
};
|
||||
|
||||
// Add refresh functionality
|
||||
const handleRefresh = () => {
|
||||
loadDashboardData();
|
||||
};
|
||||
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<div style={{ textAlign: 'center', padding: '40px' }}>
|
||||
@@ -370,8 +365,6 @@ const Dashboard: React.FC = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<PlanDebugInfo />
|
||||
|
||||
{/* Quick Actions - Nur für Admins/Instandhalter */}
|
||||
{hasRole(['admin', 'instandhalter']) && (
|
||||
<div style={{ marginBottom: '30px' }}>
|
||||
|
||||
Reference in New Issue
Block a user