Skip to content

Commit

Permalink
feat: вывод url навыка в title
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Jul 2, 2018
1 parent 2113de1 commit d77cd97
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,21 @@ html {
<script>
import Sidebar from '~/components/Sidebar';
export default {
components: { Sidebar }
components: { Sidebar },
head() {
return {
title: this.title
};
},
computed: {
title() {
return (
(this.$store.state.webhookURL ? this.$store.state.webhookURL + ' - ' : '') +
'yandex-dialogs-client ' +
this.$store.state.version
);
}
}
};
</script>

0 comments on commit d77cd97

Please sign in to comment.