Skip to content

Commit

Permalink
Better validation
Browse files Browse the repository at this point in the history
  • Loading branch information
dyakovri committed Jun 29, 2024
1 parent cff9883 commit 474e710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/admin/achievement/AchievementListView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function createAchievement(
prepend-icon="md:image"
accept="image/png"
:rules="[
(value: File) => {
(value: File[]) => {
return (
!value ||
value.length == 1 ||
Expand Down

0 comments on commit 474e710

Please sign in to comment.