mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-03 03:00:22 -04:00
Fixed "Keep hosting settings" option in frontend
This commit is contained in:
@@ -619,7 +619,7 @@ function closeImportDb() {
|
||||
|
||||
function importDb() {
|
||||
const index = parseInt(windows.importDb.dialog.dataset.index)
|
||||
const copyHosting = windows.importDb.inputs.keepHostingSettings ? 'true' : 'false'
|
||||
const copyHosting = windows.importDb.inputs.keepHostingSettings.checked ? 'true' : 'false'
|
||||
windows.importDb.submit.innerHTML = icons.loading
|
||||
windows.importDb.submit.classList.add('spinning')
|
||||
sendAPI("POST", `/admin/database/backups/${index}`, {
|
||||
|
||||
Reference in New Issue
Block a user