Improve rendering of page title

This commit is contained in:
Jonathan Reinink 2019-12-18 13:59:44 -05:00
parent 0570582459
commit ac58afd14b
1 changed files with 1 additions and 2 deletions

3
resources/js/app.js vendored
View File

@ -13,8 +13,7 @@ let app = document.getElementById('app')
new Vue({
metaInfo: {
title: 'Loading…',
titleTemplate: '%s | Ping CRM',
titleTemplate: (title) => title ? `${title} - Ping CRM` : 'Ping CRM'
},
render: h => h(InertiaApp, {
props: {