mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-03 08:18:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -58,7 +58,7 @@ export const ShowDeployments = ({
|
||||
{
|
||||
enabled: !!id,
|
||||
refetchInterval: 1000,
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
const { mutateAsync: rollback, isLoading: isRollingBack } =
|
||||
@@ -167,8 +167,8 @@ export const ShowDeployments = ({
|
||||
Math.floor(
|
||||
(new Date(deployment.finishedAt).getTime() -
|
||||
new Date(deployment.startedAt).getTime()) /
|
||||
1000
|
||||
)
|
||||
1000,
|
||||
),
|
||||
)}
|
||||
</Badge>
|
||||
)}
|
||||
@@ -222,7 +222,7 @@ export const ShowDeployments = ({
|
||||
})
|
||||
.then(() => {
|
||||
toast.success(
|
||||
"Rollback initiated successfully"
|
||||
"Rollback initiated successfully",
|
||||
);
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
@@ -44,7 +44,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
|
||||
},
|
||||
{
|
||||
enabled: !!id,
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
const utils = api.useUtils();
|
||||
@@ -169,7 +169,7 @@ export const ShowSchedules = ({ id, scheduleType = "application" }: Props) => {
|
||||
})
|
||||
.then(async () => {
|
||||
await new Promise((resolve) =>
|
||||
setTimeout(resolve, 1500)
|
||||
setTimeout(resolve, 1500),
|
||||
);
|
||||
refetchSchedules();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user