v0.1.0-pre.048

This commit is contained in:
2026-07-25 20:19:28 +02:00
parent 33a0762658
commit a595fd920d
10 changed files with 834 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
// file: kb-app-demo-desktop/frontend/ts/main.ts
// version: 1
// version: 2
import * as bootstrap from "bootstrap";
import MarkdownIt from "markdown-it";
@@ -37,6 +37,14 @@ document.addEventListener("DOMContentLoaded", async () => {
}
});
const openDemoHttpLink = document.querySelector<HTMLAnchorElement>("#openDemoHttpLink");
if (openDemoHttpLink) {
openDemoHttpLink.addEventListener("click", event => {
event.preventDefault();
void invoke("open_demo_http_window");
});
}
const openDemoBackfillLink = document.querySelector<HTMLAnchorElement>("#openDemoBackfillLink");
if (openDemoBackfillLink) {
openDemoBackfillLink.addEventListener("click", event => {