Skip to content

Commit

Permalink
fix actions button hide
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Sep 18, 2024
1 parent c1c8423 commit 0d80568
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/powergrid.js": "/powergrid.js?id=c91c4215a3b312d28b59f351804f6f4d",
"/powergrid.js": "/powergrid.js?id=85ea731ef43f4f2726f191a79396ab7b",
"/bootstrap5.css": "/bootstrap5.css?id=a27af22343149104b2aa3283d8fd502b",
"/tailwind.css": "/tailwind.css?id=924477e2afcb2cb56aa392e266ee56ca"
}
2 changes: 1 addition & 1 deletion dist/powergrid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/js/components/pg-render-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default (params) => ({
if (action.rules && Object.values(action.rules).length > 0) {
Object.values(action.rules).forEach((ruleObj) => {
if (
!ruleObj.action.includes(action.action)
ruleObj.action.includes(action.action)
&& ruleObj.apply
&& ruleObj.rule.hide) {
hideAction = true;
Expand Down

0 comments on commit 0d80568

Please sign in to comment.