Update timeline.vue (refactor)

This commit is contained in:
かっこかり 2024-08-17 15:24:29 +09:00 committed by GitHub
parent 6cdecd72ee
commit 75b0315ace
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,7 +240,7 @@ function closeTutorial(): void {
}
function switchTlIfNeeded() {
if (isBasicTimeline(src.value) && !availableBasicTimelines().includes(src.value)) {
if (isBasicTimeline(src.value) && !isAvailableBasicTimeline(src.value)) {
src.value = availableBasicTimelines()[0];
}
}