mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-21 16:55:03 +00:00
dashboard: add custom page titles for documentation and dashboard
This commit is contained in:
parent
fd89d02827
commit
371e2fb98f
3 changed files with 25 additions and 4 deletions
13
dashboard/src/components/Title.vue
Normal file
13
dashboard/src/components/Title.vue
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script lang="ts">
|
||||
export default {
|
||||
props: ['title'],
|
||||
watch: {
|
||||
title: {
|
||||
immediate: true,
|
||||
handler() {
|
||||
document.title = this.title;
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue