mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-02 22:44:04 +03:00
fix: dont update title on client with falsy value except empty string
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* @param {String} title - the new title of the document
|
||||
*/
|
||||
export default function updateTitle (title) {
|
||||
if (title === undefined) {
|
||||
if (!title && title !== '') {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user