Skip to content

Commit

Permalink
fix: disable article call
Browse files Browse the repository at this point in the history
  • Loading branch information
ekachxaidze98 committed Sep 13, 2024
1 parent c4ef37e commit e2f7694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/data-provider/works.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Works extends Store {
@action
changeVisibility = async (rowId) => {
const [, workId] = rowId.split('-', 2)
const row = this.data.find((r) => r.originalId === +workId)
const row = this.workRecords.data.find((r) => r.originalId === +workId)
const { disabled } = row
row.disabled = !disabled
try {
Expand Down

0 comments on commit e2f7694

Please sign in to comment.