refactor: enhance UI components and navigation structure, implement export functionality for wizard steps, and update routing for improved user experience
This commit is contained in:
parent
37ab8d7bab
commit
d7e52293e4
18 changed files with 3802 additions and 3318 deletions
|
|
@ -1,6 +1,11 @@
|
|||
export default defineNuxtRouteMiddleware((to) => {
|
||||
// Skip middleware for wizard, templates, and API routes
|
||||
if (to.path === "/wizard" || to.path.startsWith("/templates") || to.path.startsWith("/api/")) {
|
||||
// Skip middleware for coop-planner, wizards, templates, and API routes
|
||||
if (
|
||||
to.path === "/coop-planner" ||
|
||||
to.path === "/wizards" ||
|
||||
to.path.startsWith("/templates") ||
|
||||
to.path.startsWith("/api/")
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -15,6 +20,6 @@ export default defineNuxtRouteMiddleware((to) => {
|
|||
streamsStore.hasValidStreams;
|
||||
|
||||
if (!setupComplete) {
|
||||
return navigateTo("/wizard");
|
||||
return navigateTo("/coop-planner");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue