mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
## Summary Fix cloud login page showing only the splash loader (wave SVG) instead of the login form when the user is not authenticated. ## Changes - **What**: Remove splash loader on `CloudLayoutView` mount. Cloud onboarding pages do not use workspace initialization, so the `workspaceStore.spinner` transition (`true→false`) that normally removes the splash never occurs — leaving it visible indefinitely. Co-authored-by: Amp <amp@ampcode.com>
22 lines
502 B
Vue
22 lines
502 B
Vue
<template>
|
|
<CloudTemplate>
|
|
<!-- This will render the nested route components -->
|
|
<RouterView />
|
|
</CloudTemplate>
|
|
<!-- Global Toast for displaying notifications -->
|
|
<GlobalToast />
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { onMounted } from 'vue'
|
|
import { RouterView } from 'vue-router'
|
|
|
|
import GlobalToast from '@/components/toast/GlobalToast.vue'
|
|
|
|
import CloudTemplate from './CloudTemplate.vue'
|
|
|
|
onMounted(() => {
|
|
document.getElementById('splash-loader')?.remove()
|
|
})
|
|
</script>
|