fix routing and checkbox subscribe in chat
Deploy app frontend / app frontend (push) Successful in 1m48s

This commit is contained in:
2024-12-07 20:28:40 +02:00
parent 7d611b6916
commit a420a7a040
4 changed files with 14 additions and 11 deletions
+7 -6
View File
@@ -9,10 +9,12 @@ const routes = [
{
path: '/',
name: ROUTE_NAMES.HOME,
component: () =>
isRunningStandalone()
? import('@/views/manage/ManageQRCodesView.vue')
: import('@/views/HomeView.vue'),
component: () => import('@/views/HomeView.vue'),
beforeEnter() {
if (isRunningStandalone()) {
return { name: ROUTE_NAMES.MANAGE_DASHBOARD_QR }
}
},
},
{
path: '/create',
@@ -22,8 +24,7 @@ const routes = [
{
path: '/manage',
name: ROUTE_NAMES.MANAGE_DASHBOARD_QR_CODES,
component: () => import('@/views/manage/ManageQRCodesView.vue'),
props: true,
redirect: { name: ROUTE_NAMES.MANAGE_DASHBOARD_QR },
},
{
path: '/manage/qr',