mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 10:15:40 +00:00
fixes
This commit is contained in:
1 parent
9bd99605fb
commit
781fd0a1cd
2 files changed
+2
-2
No files matched your search
@@ -88,7 +88,7 @@
|
||||
$status.service.initialLoading = true;
|
||||
try {
|
||||
if (service.type && $status.service.isRunning)
|
||||
await post(`/services/${service.id}/${service.type}/stop`, {});
|
||||
await post(`/services/${service.id}/stop`, {});
|
||||
await del(`/services/${service.id}`, { id: service.id });
|
||||
return await goto('/');
|
||||
} catch (error) {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
$status.service.initialLoading = true;
|
||||
try {
|
||||
if (service.type && $status.service.isRunning) {
|
||||
await post(`/services/${service.id}/${service.type}/stop`, {});
|
||||
await post(`/services/${service.id}/stop`, {});
|
||||
}
|
||||
await del(`/services/${service.id}`, { id: service.id });
|
||||
return await goto('/');
|
||||
|
||||
Reference in new issue
Block a user