Skip to content

Commit

Permalink
fix(vue3): ensure 3rd party components directly imported in script se…
Browse files Browse the repository at this point in the history
…tup do not show up as `Anonymous Component` in devtools (#2020)
  • Loading branch information
LinusBorg authored Jan 20, 2023
1 parent a75f415 commit 7dbe206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-backend-vue3/src/components/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function saveComponentName (instance, key) {
}

function getComponentTypeName (options) {
const name = options.name || options._componentTag || options.__vdevtools_guessedName
const name = options.name || options._componentTag || options.__vdevtools_guessedName || options.__name
if (name) {
return name
}
Expand Down

0 comments on commit 7dbe206

Please sign in to comment.