not sure its better or not

This commit is contained in:
kolaflash
2026-01-11 20:55:37 +01:00
parent 775e8b66ec
commit 38428cf470
10 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ import { GraphBrowser } from "./GraphBrowser.tsx";
async function fetchScenes(): Promise<string[]> {
const indexRef: string[] = await (await fetch(`/api/scenes`)).json();
const items = indexRef.filter((value) => value.includes("index"));
const items = indexRef.filter((value) => value.includes("scene"));
return items.map((i) => i.substring(1).split("/")[0]);
}