mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 04:22:28 +02:00
refactoring
This commit is contained in:
parent
940b33f83b
commit
e98de20f24
6 changed files with 5 additions and 6 deletions
|
|
@ -72,6 +72,8 @@ export default defineConfig((ctx) => {
|
|||
colada: fileURLToPath(new URL('./src/colada', import.meta.url)),
|
||||
openapi: fileURLToPath(new URL('./src/generated/openapi', import.meta.url)),
|
||||
types: fileURLToPath(new URL('./src/types', import.meta.url)),
|
||||
styles: fileURLToPath(new URL('./src/styles', import.meta.url)),
|
||||
utils: fileURLToPath(new URL('./src/utils', import.meta.url)),
|
||||
},
|
||||
|
||||
// Komga: cannot use the import syntax as it breaks the type checker, meaning we cannot use strongly typed options
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
//
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import 'styles/global.scss';
|
||||
<style lang="scss">
|
||||
@use 'styles/global';
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@
|
|||
<script lang="ts" setup>
|
||||
import { useAnnouncements } from 'colada/queries/announcements'
|
||||
import { useMarkAnnouncementsRead } from 'colada/mutations/mark-announcements-read'
|
||||
import { commonMessages } from 'src/utils/common-messages'
|
||||
import { commonMessages } from 'utils/i18n/common-messages'
|
||||
|
||||
const { data: announcements, error, unreadCount, isLoading } = useAnnouncements()
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
export function delay(ms: number) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms))
|
||||
}
|
||||
Loading…
Reference in a new issue