Compare commits

...

3 Commits

Author SHA1 Message Date
Alex Ling
6f39c2a74c Restrict table selection to id seletable
fixes #335
2022-09-09 13:47:30 +00:00
Alex Ling
61d6c2e1d9 Fix incorrect default DB path 2022-09-05 03:18:44 +00:00
Alex Ling
ce559984e6 Fix uikit version to ~3.14.0 (fixes #334) 2022-09-05 03:17:36 +00:00
3 changed files with 5 additions and 5 deletions

View File

@@ -25,6 +25,6 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.14.0",
"uikit": "^3.5.4"
"uikit": "~3.14.0"
}
}

View File

@@ -146,17 +146,17 @@ const component = () => {
}
},
selectAll() {
$('tbody > tr').each((i, e) => {
$('tbody#selectable > tr').each((i, e) => {
$(e).addClass('ui-selected');
});
},
clearSelection() {
$('tbody > tr').each((i, e) => {
$('tbody#selectable > tr').each((i, e) => {
$(e).removeClass('ui-selected');
});
},
download() {
const selected = $('tbody > tr.ui-selected').get();
const selected = $('tbody#selectable > tr.ui-selected').get();
if (selected.length === 0) return;
UIkit.modal

View File

@@ -8,7 +8,7 @@ class Config
"session_secret" => "mango-session-secret",
"library_path" => "~/mango/library",
"library_cache_path" => "~/mango/library.yml.gz",
"db_path" => "~/mango.db",
"db_path" => "~/mango/mango.db",
"queue_db_path" => "~/mango/queue.db",
"scan_interval_minutes" => 5,
"thumbnail_generation_interval_hours" => 24,