Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Feb 16, 2025
1 parent a33e206 commit e8bd01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/admin/arrange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const canArrange = computed(() => requirementList.value.every(x => x.value));
const songCount = ref(10);
function isDateUnavailable(date: DateValue) {
return arrangementList.value?.some(x => x.date === date.toString());
return arrangementList.value?.some(x => x.date === date.toString()) ?? false;
}
const queryClient = useQueryClient();
Expand Down

0 comments on commit e8bd01b

Please sign in to comment.