feat(web): add TFM settings page

Only setting TFM database name by now
This commit is contained in:
2023-02-09 00:45:54 +03:00
parent 9c07702409
commit 243621f3b2
9 changed files with 211 additions and 22 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ $(window).on("load", function () {
$(document).on("submit", "#menu-add form", function (e) {
e.preventDefault();
let resp = tdb_query("$TFM", 18, $("#new-name").val());
let resp = tdb_query(db_name, 18, $("#new-name").val());
if (!resp.status) {
alert("Something went wrong!");
return;