diff --git a/.directus/docker-compose.yaml b/.directus/docker-compose.yaml index 3b76d58..53f9cc9 100644 --- a/.directus/docker-compose.yaml +++ b/.directus/docker-compose.yaml @@ -17,7 +17,7 @@ services: image: redis:6 directus: - image: directus/directus:10.6.3 + image: directus/directus:10.8.3 ports: - 8055:8055 volumes: diff --git a/app.config.ts b/app.config.ts index a9db24b..9109a3d 100644 --- a/app.config.ts +++ b/app.config.ts @@ -84,6 +84,15 @@ export default defineAppConfig({ }, }, }, + avatar: { + default: {}, + rounded: 'rounded-button', + }, + breadcrumb: { + default: { + divider: 'material-symbols:chevron-right', + }, + }, pagination: { rounded: 'first:rounded-l-button last:rounded-r-button', default: { diff --git a/components/PageBuilder.vue b/components/PageBuilder.vue index b2ec601..0489c9e 100644 --- a/components/PageBuilder.vue +++ b/components/PageBuilder.vue @@ -1,5 +1,5 @@ diff --git a/layers/portal/pages/portal/projects/index.vue b/layers/portal/pages/portal/projects/index.vue index d980155..5dd02c4 100644 --- a/layers/portal/pages/portal/projects/index.vue +++ b/layers/portal/pages/portal/projects/index.vue @@ -130,7 +130,7 @@ const projectsShown = computed(() => { diff --git a/layers/portal/server/api/portal/search.get.ts b/layers/portal/server/api/portal/search.get.ts index 7441a5d..ebbdca9 100644 --- a/layers/portal/server/api/portal/search.get.ts +++ b/layers/portal/server/api/portal/search.get.ts @@ -100,7 +100,7 @@ export default cachedEventHandler( const cookies = parseCookies(event); - const directusData = JSON.parse(cookies['directus-data']); + const directusData = JSON.parse(cookies['directus-auth']); const access_token = directusData?.access_token; // console.log(access_token); diff --git a/layers/proposals/nuxt.config.ts b/layers/proposals/nuxt.config.ts index edc4311..6b831ba 100644 --- a/layers/proposals/nuxt.config.ts +++ b/layers/proposals/nuxt.config.ts @@ -1,6 +1,10 @@ export default defineNuxtConfig({ components: [{ path: './components/', prefix: 'Proposals' }], + routeRules: { + '/proposals/**': { ssr: true }, + }, + build: { transpile: ['v-perfect-signature'], }, diff --git a/layers/proposals/pages/proposals/[id].vue b/layers/proposals/pages/proposals/[id].vue index d151d5c..88ab259 100644 --- a/layers/proposals/pages/proposals/[id].vue +++ b/layers/proposals/pages/proposals/[id].vue @@ -1,4 +1,6 @@