mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: migrate to ESlint v9
This commit is contained in:
parent
8c00292fa1
commit
4f25a0c670
142 changed files with 4387 additions and 2052 deletions
|
@ -1,8 +1,8 @@
|
|||
<script setup lang="ts">
|
||||
import dayjs from 'dayjs'
|
||||
import { useSettingsStore } from '@/pinia'
|
||||
import gettext from '@/gettext'
|
||||
import loadTranslations from '@/api/translations'
|
||||
import gettext from '@/gettext'
|
||||
import { useSettingsStore } from '@/pinia'
|
||||
import dayjs from 'dayjs'
|
||||
|
||||
import 'dayjs/locale/fr'
|
||||
import 'dayjs/locale/ja'
|
||||
|
@ -29,7 +29,7 @@ const current = computed({
|
|||
|
||||
const languageAvailable = gettext.available
|
||||
|
||||
const updateTitle = () => {
|
||||
function updateTitle() {
|
||||
const name = route.meta.name as never as () => string
|
||||
|
||||
document.title = `${name()} | Nginx UI`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue