We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c9b8c commit 8d7bd6eCopy full SHA for 8d7bd6e
src/runtime/composables/useDrupalCe/index.ts
@@ -257,7 +257,7 @@ export const useDrupalCe = () => {
257
}
258
259
// Progressively remove segments from the custom element name to find a matching default component.
260
- const regex = /-?[^-]*$/
+ const regex = /-?[^-]+$/
261
let componentName = element
262
while (componentName) {
263
// Try resolving by adding 'Default' suffix.
0 commit comments