You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you published the resource files and customized them? (php artisan vendor:publish)
Yes
What is the problem?
I have noticed, The actionRules function is firing our gates 3 times for each gate.
For example, in the below actionRules function, there are 4 rows, each row is checked 3 times for each of the gates.
So that means a total of 24 gate checks are ran just for these 4 rows with 2 buttons.
Is there a reason for it? Or a way to determine why they are firing so much?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Livewire PowerGrid version
6.6.1
Livewire version
3.6.4
Laravel version
v12.28.1
Which PHP version are you using?
PHP 8.3
Which Theme are you using?
Tailwind
Have you published the resource files and customized them? (php artisan vendor:publish)
Yes
What is the problem?
I have noticed, The actionRules function is firing our gates 3 times for each gate.
For example, in the below actionRules function, there are 4 rows, each row is checked 3 times for each of the gates.
So that means a total of 24 gate checks are ran just for these 4 rows with 2 buttons.
Is there a reason for it? Or a way to determine why they are firing so much?
Code snippets
How do you expect it to work?
I would expect 1 check to be ran per row.
Please confirm (incomplete submissions will not be addressed)
Beta Was this translation helpful? Give feedback.
All reactions