Update index.svelte

This commit is contained in:
FlaminWrap 2022-08-11 20:05:06 +00:00 committed by GitHub
parent 5242931409
commit b166e155fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()