mirror of
https://github.com/gotson/komga.git
synced 2025-12-07 09:03:08 +01:00
type check
This commit is contained in:
parent
5180095750
commit
ddceb83de0
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