Update index.svelte
This commit is contained in:
parent
58f59c88b0
commit
6205d16dd2
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue