Update index.svelte

This commit is contained in:
FlaminWrap 2022-08-11 20:05:06 +00:00 committed by GitHub
parent 58f59c88b0
commit 6205d16dd2
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@
const inviteCode = $params["?code"]
let password, error
$: company = $organisation.company || "Budibase"
async function acceptInvite() {
try {
await users.acceptInvite(inviteCode, password)
@ -20,7 +20,7 @@
notifications.error(error.message)
}
}
onMount(async () => {
try {
await organisation.init()