Skip to content

Commit

Permalink
prevent error when prop isnt passed in (like on create form) so its a…
Browse files Browse the repository at this point in the history
…n array as expected instead of undefined
  • Loading branch information
jasonvarga committed Jun 6, 2024
1 parent 89f2ce9 commit d3f4935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/publish/HasActions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {

props: {
initialItemActions: Array,
initialItemActions: { type: Array, default: () => [] },
itemActionUrl: String,
},

Expand Down

0 comments on commit d3f4935

Please sign in to comment.