mirror of
https://github.com/gotson/komga.git
synced 2025-12-08 01:24:31 +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() {
|
function cycleTheme() {
|
||||||
const index = themes.findIndex(x => x.value === appStore.theme)
|
const index = themes.findIndex(x => x.value === appStore.theme)
|
||||||
const newIndex = (index + 1) % themes.length
|
const newIndex = (index + 1) % themes.length
|
||||||
appStore.theme = themes[newIndex]?.value
|
appStore.theme = themes[newIndex]!.value
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue