From d3f4935eb01e7d56b5d1d6875257d6afb318a18c Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Thu, 6 Jun 2024 11:29:58 -0400 Subject: [PATCH] prevent error when prop isnt passed in (like on create form) so its an array as expected instead of undefined --- resources/js/components/publish/HasActions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/components/publish/HasActions.js b/resources/js/components/publish/HasActions.js index 93d2fc361b..9f782b067a 100644 --- a/resources/js/components/publish/HasActions.js +++ b/resources/js/components/publish/HasActions.js @@ -1,7 +1,7 @@ export default { props: { - initialItemActions: Array, + initialItemActions: { type: Array, default: () => [] }, itemActionUrl: String, },