-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Payload 3.0] Missing custom actions in the custom pages #9338
Comments
Hi @dinhmai74 , The repo you linked does not have an actions folder in the |
@kendelljoseph , what do you mean by that? https://github.com/dinhmai74/payload-missing-actions/blob/main/src/actions.tsx is my actions file. Are there new ways to implement it? As you can see in the demo, it appears on the normal pages but disappears in the custom pages when using the DefaultTemplate componen |
Hey @dinhmai74, I think what's happening here is intentional. In Payload admin views, You can pass your custom view actions to the default template via the |
@dinhmai74 I think what @akhrarovsaid said is correct, you could recreate these yourself but you would incur some overhead by re-running a function we already run. I have opened #9404 which will allow your custom component to receive |
My mistake - the file was there! |
Describe the Bug
The actions views are missing in the custom pages after upgrade to payload 3 latest from beta-126.
Here the clip demo the bug:
https://github.com/user-attachments/assets/ab5e8537-d576-445e-9114-5ca50b42795b
Link to the code that reproduces this issue
https://github.com/dinhmai74/payload-missing-actions
Reproduction Steps
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
The text was updated successfully, but these errors were encountered: