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…
x
Reference in New Issue
Block a user