fix routing and checkbox subscribe in chat
Deploy app frontend / app frontend (push) Successful in 1m48s
Deploy app frontend / app frontend (push) Successful in 1m48s
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user