Skip to content

Commit

Permalink
fix: vue .sync modifier was replaced by v-model in Vue 3
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Feb 23, 2024
1 parent 12fab71 commit 4c9e887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/components/WbsIssues.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</thead>

<wbs-issue
:class="[$index % 2 === 0 ? 'odd' : 'even']"
:issue.sync="issues[$index]"
v-for="(issue, $index) in issues"
:key="issue.local_key"
v-model:issue="issues[$index]"
:class="[$index % 2 === 0 ? 'odd' : 'even']"
@refreshIssueList="loadIssues"
@remove="removeIssue($index)"
@keydown.enter.exact="newNode(issue.parent_id)"
Expand Down

0 comments on commit 4c9e887

Please sign in to comment.