mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
type check
This commit is contained in:
parent
0c0a09a7b6
commit
6f01f90b28
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ const themeIcon = computed(
|
|||
function cycleTheme() {
|
||||
const index = themes.findIndex(x => x.value === appStore.theme)
|
||||
const newIndex = (index + 1) % themes.length
|
||||
appStore.theme = themes[newIndex]?.value
|
||||
appStore.theme = themes[newIndex]!.value
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue