Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Jul 30, 2024
1 parent c23bd04 commit 5234e3a
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions src/views/tabbed/TestingGrounds.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,23 @@
import {
IonContent,
IonHeader,
IonInput,
IonItem,
IonLabel,
IonList,
IonListHeader,
IonPage,
IonTextarea,
IonTitle,
IonToolbar
} from '@ionic/vue';
import { inject, ref } from 'vue';
import { getFiles } from '../../lib/util/misc';
import { newMember } from '../../lib/db/entities/members';
import { resizeImage } from '../../lib/util/image';
import { inject } from 'vue';
import { newSystem, getSystemUUID } from '../../lib/db/entities/system';
const isIOS = inject<boolean>("isIOS");
const name = ref("");
const pronouns = ref("");
const role = ref("");
const description = ref("");
async function createTestSystem(){
await newSystem({
name: "Test System"
});
}
async function addToDatabase(){
const files = await getFiles();
newMember({
name: name.value,
image: await resizeImage(files[0]!)!,
role: role.value,
pronouns: pronouns.value,
description: description.value,
isArchived: false,
isCustomFront: false
});
}
</script>

<template>
Expand Down

0 comments on commit 5234e3a

Please sign in to comment.