fix: disable custom view

This commit is contained in:
Benno Tielen 2025-03-12 15:33:33 +01:00
parent 6ea099403a
commit ace698b399
2 changed files with 3 additions and 5 deletions

View file

@ -10,7 +10,6 @@ import { UnderlineFeatureClient as UnderlineFeatureClient_e70f5e05f09f93e00b997e
import { BoldFeatureClient as BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client' import { BoldFeatureClient as BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
import { ItalicFeatureClient as ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client' import { ItalicFeatureClient as ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864 } from '@payloadcms/richtext-lexical/client'
import { default as default_9bcae99938dc292be0063ce32055e14c } from 'src/components/Logo/Logo' import { default as default_9bcae99938dc292be0063ce32055e14c } from 'src/components/Logo/Logo'
import { default as default_da280595b8aff80d788c3701c6162e87 } from 'src/admin/components/test/TestView'
export const importMap = { export const importMap = {
"@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell": RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e, "@payloadcms/richtext-lexical/rsc#RscEntryLexicalCell": RscEntryLexicalCell_44fe37237e0ebf4470c9990d8cb7b07e,
@ -24,6 +23,5 @@ export const importMap = {
"@payloadcms/richtext-lexical/client#UnderlineFeatureClient": UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, "@payloadcms/richtext-lexical/client#UnderlineFeatureClient": UnderlineFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
"@payloadcms/richtext-lexical/client#BoldFeatureClient": BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, "@payloadcms/richtext-lexical/client#BoldFeatureClient": BoldFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
"@payloadcms/richtext-lexical/client#ItalicFeatureClient": ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864, "@payloadcms/richtext-lexical/client#ItalicFeatureClient": ItalicFeatureClient_e70f5e05f09f93e00b997edb1ef0c864,
"/components/Logo/Logo#default": default_9bcae99938dc292be0063ce32055e14c, "/components/Logo/Logo#default": default_9bcae99938dc292be0063ce32055e14c
"/admin/components/test/TestView#default": default_da280595b8aff80d788c3701c6162e87
} }

View file

@ -50,12 +50,12 @@ export default buildConfig({
baseDir: dirname, baseDir: dirname,
}, },
components: { components: {
views: { /*views: {
testCustomView: { testCustomView: {
Component: '/admin/components/test/TestView', Component: '/admin/components/test/TestView',
path: '/test' path: '/test'
}, },
}, },*/
graphics: { graphics: {
Logo: { Logo: {
path: '/components/Logo/Logo', path: '/components/Logo/Logo',