Add maintenance menu (top-right ⚙) with generate missing PDF thumbnails

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 00:41:40 +00:00
parent 451b04ad03
commit 8e0f7eb4d8
5 changed files with 111 additions and 0 deletions

View File

@@ -59,6 +59,9 @@ export async function upload_pdf(file, display_name) {
return data;
}
// Maintenance
export const maintenance_pdf_thumbs = () => req('POST', '/api/maintenance/pdf-thumbs');
// Grid images
export const get_grids = () => req('GET', '/api/grid-images');
export const get_grid = (id) => req('GET', `/api/grid-images/${id}`);