(format)
| 5402 | } |
| 5403 | |
| 5404 | async function exportData(format) { |
| 5405 | const data = await api("/api/export", { |
| 5406 | method: "POST", |
| 5407 | body: JSON.stringify({ user_id: currentUser(), format }) |
| 5408 | }); |
| 5409 | showSettingsMessage(ui().settings.exported(data.format, data.display_path || data.path, data.count || 0)); |
| 5410 | } |
| 5411 | |
| 5412 | async function saveProfile() { |
| 5413 | const userId = $("profileUserId").value.trim() || currentUser(); |
no test coverage detected