Files
speckle-server/packages/frontend-2/components/singleton/Managers.vue
T
Kristaps Fabians Geikins 7e01c6f769 feat(fe2): improved file import error handling (#5016)
* WIP error dialog

* import error reporting

* dialog content memoization

* dialog work

* more cleanup

* apollo cache adjustments

* add jobId to uploads table

* fix showing old pending version state

* feat(fe2): prevent user from leaving page if active uploads (#5017)

* feat(fe2): prevent user leaving if active uploads

* fixxes
2025-07-02 11:01:41 +03:00

18 lines
530 B
Vue

<template>
<div v-if="hasLock">
<ClientOnly>
<SingletonToastManager />
</ClientOnly>
<SingletonFileUploadErrorDialog />
<SingletonAppErrorStateManager />
</div>
<div v-else />
</template>
<script setup lang="ts">
// This just wraps all global singleton/manager components that should be always available in all layouts
import { useLock } from '~~/lib/common/composables/singleton'
// Protection against component being mounted multiple times
const { hasLock } = useLock('SingletonManagers')
</script>