mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-23 00:24:15 +02:00
fix: confirm restart service
This commit is contained in:
parent
7ce3ebde4e
commit
816a362534
File diff suppressed because one or more lines are too long
@ -100,8 +100,11 @@
|
||||
}
|
||||
}
|
||||
async function restartService() {
|
||||
await stopService();
|
||||
await startService();
|
||||
const sure = confirm('Are you sure you want to restart this service?');
|
||||
if (sure) {
|
||||
await stopService();
|
||||
await startService();
|
||||
}
|
||||
}
|
||||
async function refreshTemplate() {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user