Skip to content

Commit

Permalink
[Fix] Conditional Row Rules are not working (#1821)
Browse files Browse the repository at this point in the history
* Fix pgRowAttributes

* Remove console.log

* build assets
  • Loading branch information
luanfreitasdev authored Dec 26, 2024
1 parent c0be6e9 commit 5c02c3c
Show file tree
Hide file tree
Showing 5 changed files with 1,589 additions and 1,543 deletions.
4 changes: 2 additions & 2 deletions dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/powergrid.js": "/powergrid.js?id=9d73d8a5f9abad977a66cabf31e89f3d",
"/powergrid.js": "/powergrid.js?id=bc5e77274d3607fbbed1cdec8a5ebd91",
"/bootstrap5.css": "/bootstrap5.css?id=a27af22343149104b2aa3283d8fd502b",
"/tailwind.css": "/tailwind.css?id=924477e2afcb2cb56aa392e266ee56ca"
"/tailwind.css": "/tailwind.css?id=223997eb7c5932eaacf1b73389b675b6"
}
2 changes: 1 addition & 1 deletion dist/powergrid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/tailwind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion resources/js/components/pg-row-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default (params) => ({
init() {
if (this.rules) {
Object.values(this.rules).forEach((rule) => {
if (rule.applyLoop) {
if (rule.applyLoop || rule.apply) {
this.attributes.push(rule.attributes)
}
})
Expand Down
Loading

0 comments on commit 5c02c3c

Please sign in to comment.