GuidedSetupManualFinish.vue 714 B

1234567891011121314151617181920212223242526
  1. <!-- Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ -->
  2. <script setup lang="ts">
  3. import { useTimeoutFn } from '@vueuse/shared'
  4. import { useRouter } from 'vue-router'
  5. import GuidedSetupStatusMessage from '../../components/GuidedSetupStatusMessage.vue'
  6. import { useSystemSetup } from '../../composables/useSystemSetup.ts'
  7. const { setBoxSize, setHideFooter, setTitle } = useSystemSetup()
  8. setBoxSize?.('medium')
  9. setHideFooter?.(true)
  10. setTitle(__('Setup Finished'))
  11. const router = useRouter()
  12. useTimeoutFn(() => {
  13. router.replace('/') // TODO: Use 'default_router' setting.
  14. }, 3000)
  15. </script>
  16. <template>
  17. <GuidedSetupStatusMessage :message="__('Starting Zammad…')" />
  18. </template>