v1.0.174: /api/sync — БД = зеркало таблицы, удаление ВСЕГО кроме keep_ids

This commit is contained in:
2026-06-24 15:11:57 +04:00
parent b19e6ba06e
commit 70a7c8bfb4
3 changed files with 29 additions and 31 deletions
+4
View File
@@ -33,6 +33,10 @@ function removeFile(i) {
fileQueue.splice(i, 1);
if (fileQueue.length === 0) contractId = null;
renderTable();
// Синхронизировать БД с таблицей
if (typeof syncDB === 'function') syncDB();
// Разблокировать кнопку классификации при изменении состава файлов
if (typeof showClassifyBtn === 'function') showClassifyBtn();
}
window.removeFile = removeFile;