12345678910111213 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import { useSystemSetupInfoStore } from '#desktop/pages/guided-setup/stores/systemSetupInfo.ts'
- export const systemSetupBeforeRouteEnterGuard = () => {
- const { systemSetupDone } = useSystemSetupInfoStore()
- if (systemSetupDone) {
- return '/'
- }
- return true
- }
|