[feat] added simple settings

This commit is contained in:
kwaroran
2023-05-29 05:51:00 +09:00
parent c1c767cd05
commit 3102e09cd5
5 changed files with 75 additions and 25 deletions

View File

@@ -1,10 +1,11 @@
<script lang="ts">
import { DataBase } from "src/ts/storage/database";
import { getHordeModels } from "src/ts/horde/getModels";
import Arcodion from "./Arcodion.svelte";
import { language } from "src/lang";
import Arcodion from "./Arcodion.svelte";
import { language } from "src/lang";
export let value = ""
export let onChange: (v:string) => void = (v) => {}
let openOptions = false
function getModelName(name:string){
@@ -34,6 +35,7 @@
function changeModel(name:string){
value = name
openOptions = false
onChange(name)
}
</script>