Skip to content
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

Bug with non-inertia actions not having access to the flash object #84

Closed
1 task done
DominusKelvin opened this issue Feb 28, 2024 · 0 comments
Closed
1 task done

Comments

@DominusKelvin
Copy link
Member

DominusKelvin commented Feb 28, 2024

Description

Currently non-inertia pages/actions won't be able to read flash messages
...

Current behavior

When a flash message is shared via req.flash, it is being consumed the inertia middleware even for pages that are non-inertia
...

Expected behavior

Pages and actions that are non-inertia should be able to read from the flash object.
...

Replace space in square bracket with x e.g [x]

  • I have checked and this issue does not exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant