diff --git a/frontend/src/components/Song.vue b/frontend/src/components/Song.vue index b285c79..4f06113 100644 --- a/frontend/src/components/Song.vue +++ b/frontend/src/components/Song.vue @@ -59,7 +59,7 @@
- {{ song?.songbook?.title }} @@ -165,7 +165,7 @@

-

@@ -198,7 +198,7 @@
Text
-
+
@@ -240,7 +240,7 @@ import { Song, Score, Songbook, Categories } from "@/types" type DraftSongbook = Partial interface DraftSong extends Omit, "songbook"> { - songbook: DraftSongbook + songbook?: DraftSongbook } interface DraftScore extends Omit, "song"> { @@ -267,7 +267,7 @@ const error = ref(null); const rules = { title: { required }, } -const v$ = useVuelidate(rules, draftValues.value as DraftSong) +const v$ = useVuelidate(rules, draftValues as DraftSong) const editor = useEditor({ content: null, extensions: [