Skip to content

Commit

Permalink
Fix get workbook entries (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-weber authored Jul 29, 2024
1 parent 01d44b7 commit d771f05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/db/models/favorite/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Favorite extends Model {
} else {
result = [
...result,
workbookEntries.map((entry) => ({
...workbookEntries.map((entry) => ({
...entry,
isLocked: false,
...(includePermissionsInfo && {
Expand Down
2 changes: 1 addition & 1 deletion src/db/models/navigation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class Navigation extends Model {
} else {
result = [
...result,
workbookEntries.map((entry) => ({
...workbookEntries.map((entry) => ({
...entry,
isLocked: false,
...(includePermissionsInfo && {
Expand Down

0 comments on commit d771f05

Please sign in to comment.