generated from pascalmartineau/wp-skeleton
minor: add some ids here and there
This commit is contained in:
@@ -7,6 +7,6 @@ export function useSection(section: TheSectionFragment) {
|
||||
case "GroupAbstractBuilderSectionsTextBlockLayout":
|
||||
return { component: SectionTextBlock, attrs: attrs as SectionTextBlockFragment };
|
||||
default:
|
||||
throw createError({ statusCode: 500, statusMessage: "Erreur interne", message: "Type de section invalide" });
|
||||
throw createError({ statusCode: 500, statusMessage: "Erreur interne", message: `Type de section invalide: ${fieldGroupName}` });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user