Browse Source

feat(nc-gui): handle meta title for shared view

pull/5323/head
Wing-Kam Wong 2 years ago
parent
commit
3fcaeb44e6
  1. 7
      packages/nc-gui/layouts/shared-view.vue

7
packages/nc-gui/layouts/shared-view.vue

@ -30,6 +30,13 @@ onMounted(() => {
if (href) notifyLocationChange(href) if (href) notifyLocationChange(href)
}) })
} }
// handle meta title
if (sharedView.value?.title) {
document.title = `${sharedView.value.title} | NocoDB`
} else {
document.title = 'NocoDB'
}
}) })
</script> </script>

Loading…
Cancel
Save