forked from Mirrors/elk
chore: cleanup
This commit is contained in:
parent
71923d30dd
commit
ef8a2bec32
2 changed files with 1 additions and 4 deletions
|
@ -23,9 +23,6 @@ export function setupPageHeader() {
|
||||||
content: () => `width=device-width,initial-scale=1${enablePinchToZoom.value ? '' : ',maximum-scale=1,user-scalable=0'},viewport-fit=cover`,
|
content: () => `width=device-width,initial-scale=1${enablePinchToZoom.value ? '' : ',maximum-scale=1,user-scalable=0'},viewport-fit=cover`,
|
||||||
}],
|
}],
|
||||||
titleTemplate: (title) => {
|
titleTemplate: (title) => {
|
||||||
if (!isHydrated)
|
|
||||||
return ''
|
|
||||||
|
|
||||||
let titleTemplate = title ?? ''
|
let titleTemplate = title ?? ''
|
||||||
|
|
||||||
if (titleTemplate.match(/&[a-z0-9#]+;/gi)) {
|
if (titleTemplate.match(/&[a-z0-9#]+;/gi)) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const { t, setLocale } = useI18n()
|
const { t } = useI18n()
|
||||||
useHydratedHead({
|
useHydratedHead({
|
||||||
title: () => `${t('tab.notifications_mention')} | ${t('nav.notifications')}`,
|
title: () => `${t('tab.notifications_mention')} | ${t('nav.notifications')}`,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue