MSP-3288 change title in index.html and UIUtiles

This commit is contained in:
Anastasiia committed 2024-05-15 09:21:49 +03:00
1 parent 4f88d86ea2
commit 34b2f3373f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Панель Администратора</title>
<script type="module" src="/src/index.tsx"></script>
<script type="module">
window.AppVersion = APP_VERSION
+1 -1
View File
@@ -22,5 +22,5 @@ export const initUI = (ui: UIDataType) => {
favicon = initSVG(ui.primaryColor)
const titles = document.getElementsByTagName('title')
document.head.insertBefore(favicon, titles[0])
document.title = `${ui.name} — MSP`
document.title = ui.name
}