mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 04:22:16 +00:00
Merge pull request #4031 from difagume/style/deployments-remove-max-w-8xl
style(dashboard): remove max-width constraint from deployments card
This commit is contained in:
@@ -40,7 +40,7 @@ function DeploymentsPage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<Card className="h-full bg-sidebar p-2.5 rounded-xl max-w-8xl mx-auto min-h-[45vh]">
|
<Card className="h-full bg-sidebar p-2.5 rounded-xl min-h-[45vh]">
|
||||||
<div className="rounded-xl bg-background shadow-md h-full">
|
<div className="rounded-xl bg-background shadow-md h-full">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
|
<div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between">
|
||||||
|
|||||||
@@ -104,7 +104,10 @@ process.on("uncaughtException", (err) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
process.on("unhandledRejection", (reason, _promise) => {
|
process.on("unhandledRejection", (reason, _promise) => {
|
||||||
logger.error(reason instanceof Error ? reason : { reason: String(reason) }, "Unhandled Rejection at: Promise");
|
logger.error(
|
||||||
|
reason instanceof Error ? reason : { reason: String(reason) },
|
||||||
|
"Unhandled Rejection at: Promise",
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
const port = Number.parseInt(process.env.PORT || "3000");
|
const port = Number.parseInt(process.env.PORT || "3000");
|
||||||
|
|||||||
@@ -142,7 +142,10 @@ export const initializeJobs = async () => {
|
|||||||
cronSchedule: CLEANUP_CRON_JOB,
|
cronSchedule: CLEANUP_CRON_JOB,
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(error, `Failed to schedule cleanup job for server ${serverId}`);
|
logger.error(
|
||||||
|
error,
|
||||||
|
`Failed to schedule cleanup job for server ${serverId}`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,7 +258,10 @@ export const initializeJobs = async () => {
|
|||||||
cronSchedule: volumeBackup.cronExpression,
|
cronSchedule: volumeBackup.cronExpression,
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.error(error, `Failed to schedule volume backup ${volumeBackup.volumeBackupId}`);
|
logger.error(
|
||||||
|
error,
|
||||||
|
`Failed to schedule volume backup ${volumeBackup.volumeBackupId}`,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user