mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-03 11:22:29 +00:00
fix: dashboard onMount issue (rare)
This commit is contained in:
parent
efdaf533d8
commit
0736b82d02
@ -7,6 +7,7 @@
|
||||
import NewInstanceProcessingBlock from './NewInstanceProcessingBlock.svelte'
|
||||
import Fa from 'svelte-fa'
|
||||
import { faArrowRight, faRotate } from '@fortawesome/free-solid-svg-icons'
|
||||
import { onMount } from 'svelte'
|
||||
|
||||
export let isSignUpView: boolean = false
|
||||
let isProcessing: boolean = false
|
||||
@ -30,6 +31,7 @@
|
||||
instanceNameField.set(name)
|
||||
}
|
||||
|
||||
onMount(() => {
|
||||
instanceNameField.subscribe(async (name) => {
|
||||
if (name === $instanceInfo.name) return
|
||||
try {
|
||||
@ -56,8 +58,11 @@
|
||||
}))
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
onMount(() => {
|
||||
generateSlug()
|
||||
})
|
||||
|
||||
// Set up the variables to hold the form information
|
||||
let email: string = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user