[F] Fix disabled conditions
This commit is contained in:
@@ -47,7 +47,6 @@ Practice Japanese Karaoke lyrics reading and typing at the same time with amaoke
|
|||||||
* [ ] Intro popup
|
* [ ] Intro popup
|
||||||
* [ ] Re-encode songs using opus
|
* [ ] Re-encode songs using opus
|
||||||
* [ ] Meta tags
|
* [ ] Meta tags
|
||||||
* [ ] Bug: 音乐模式 should require lyrics to be ready
|
|
||||||
|
|
||||||
## 自搭服务器文档 / Self-hosting Guide
|
## 自搭服务器文档 / Self-hosting Guide
|
||||||
|
|
||||||
|
|||||||
@@ -28,9 +28,9 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
let modes = $derived([
|
let modes = $derived([
|
||||||
{ icon: "i-material-symbols:keyboard-rounded", label: t.typing, url: `/song/${data.song.id}/play`, disabled: !taskStatus.lyrics || !taskStatus.ai },
|
{ icon: "i-material-symbols:keyboard-rounded", label: t.typing, url: `/song/${data.song.id}/play`, disabled: !taskStatus.ai },
|
||||||
{ icon: "i-material-symbols:music-note-rounded", label: t.music, url: `/song/${data.song.id}/play?music=true`, disabled: !taskStatus.music },
|
{ icon: "i-material-symbols:music-note-rounded", label: t.music, url: `/song/${data.song.id}/play?music=true`, disabled: !taskStatus.ai || !taskStatus.music },
|
||||||
{ icon: "i-material-symbols:mic-rounded", label: t.karaoke, url: `/song/${data.song.id}/karaoke`, disabled: !taskStatus.separation },
|
{ icon: "i-material-symbols:mic-rounded", label: t.karaoke, url: `/song/${data.song.id}/karaoke`, disabled: !taskStatus.ai || !taskStatus.separation },
|
||||||
])
|
])
|
||||||
|
|
||||||
let progressItems = $state<any[]>([])
|
let progressItems = $state<any[]>([])
|
||||||
|
|||||||
Reference in New Issue
Block a user