Merge branch 'develop'

This commit is contained in:
Martin Porwoll 2025-12-20 15:07:39 +00:00
commit 9b47336a66

View file

@ -97,11 +97,11 @@ export default buildConfig({
serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL || 'https://pl.porwoll.tech', serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL || 'https://pl.porwoll.tech',
admin: { admin: {
user: Users.slug, user: Users.slug,
components: { // All custom components disabled due to path-to-regexp bug
// Tenant-Kontext in der Admin-Header-Leiste anzeigen // See BUG_REPORT_CUSTOM_VIEWS.md for details
afterNavLinks: ['@/components/admin/TenantBreadcrumb#TenantBreadcrumb'], // TypeError: Missing parameter name at 5
// Custom Views disabled due to bug - see https://github.com/payloadcms/payload/issues/XXXX // components: {
// TypeError: Missing parameter name at 5 (path-to-regexp error) // afterNavLinks: ['@/components/admin/TenantBreadcrumb#TenantBreadcrumb'],
// views: { // views: {
// TenantDashboard: { // TenantDashboard: {
// Component: '@/components/admin/TenantDashboardView#TenantDashboardView', // Component: '@/components/admin/TenantDashboardView#TenantDashboardView',
@ -109,7 +109,7 @@ export default buildConfig({
// }, // },
// }, // },
// beforeNavLinks: ['@/components/admin/DashboardNavLink#DashboardNavLink'], // beforeNavLinks: ['@/components/admin/DashboardNavLink#DashboardNavLink'],
}, // },
}, },
// Multi-Tenant Email Adapter // Multi-Tenant Email Adapter
email: multiTenantEmailAdapter, email: multiTenantEmailAdapter,