Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(module): error 500 when meta isnt defined
  • Loading branch information
Intevel committed Sep 5, 2022
1 parent a958b21 commit f84f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/useDirectusItems.ts
Expand Up @@ -21,7 +21,7 @@ export const useDirectusItems = () => {
params: data.params
})

if (data.params.meta) {
if (items.meta) {
return { meta: items.meta, data: items.data }
} else {
return items.data
Expand Down

0 comments on commit f84f0a9

Please sign in to comment.