Skip to content

Commit a1e9aca

Browse files
committed
Added page titles
1 parent 21c61df commit a1e9aca

4 files changed

Lines changed: 20 additions & 1 deletion

File tree

web/pages/messages/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ export default {
6363
errors: new Map(),
6464
}
6565
},
66+
head() {
67+
return {
68+
title: 'New Message - Http SMS',
69+
}
70+
},
6671
6772
methods: {
6873
sendMessage() {

web/pages/settings/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,11 @@ export default Vue.extend({
236236
updatingPhone: false,
237237
}
238238
},
239+
head() {
240+
return {
241+
title: 'Settings - Http SMS',
242+
}
243+
},
239244
computed: {
240245
apiKey() {
241246
if (this.$store.getters.getUser === null) {

web/pages/threads/_id.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,11 @@ export default Vue.extend({
273273
selectedMenuItem: -1,
274274
}
275275
},
276-
276+
head() {
277+
return {
278+
title: 'Messages - Http SMS',
279+
}
280+
},
277281
computed: {
278282
messages(): Array<Message> {
279283
return [...this.$store.getters.getThreadMessages].reverse()

web/pages/threads/index.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
export default {
2929
name: 'ThreadsIndex',
3030
middleware: ['auth'],
31+
head() {
32+
return {
33+
title: 'Threads - Http SMS',
34+
}
35+
},
3136
async mounted() {
3237
if (!this.$store.getters.getAuthUser) {
3338
await this.$store.dispatch('setNextRoute', this.$route.path)

0 commit comments

Comments
 (0)