Migrate all DataBase to DBState
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { get } from "svelte/store";
|
||||
import { DataBase } from "./database.svelte";
|
||||
import { getDatabase } from "./database.svelte";
|
||||
import { downloadFile } from "./globalApi";
|
||||
import { alertNormal } from "../alert";
|
||||
import { language } from "src/lang";
|
||||
|
||||
export async function exportAsDataset(){
|
||||
const db = get(DataBase)
|
||||
const db = getDatabase()
|
||||
|
||||
let dataset = []
|
||||
for(const char of db.characters){
|
||||
|
||||
Reference in New Issue
Block a user