Skip to content

Commit

Permalink
fix: page title printing (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Dec 31, 2024
1 parent 01735cc commit d8c46ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ if (process.client) {
useHead({
titleTemplate: pageTitle =>
pageTitle
? `${pageTitle} ${route.params.id} | ${APP_TITLE_SHORT}`
? `${pageTitle} ${route.params.id || ''} | ${APP_TITLE_SHORT}`
: APP_TITLE,
})
Expand Down

0 comments on commit d8c46ad

Please sign in to comment.